commit | 52e220d357a38cb29fa2e29f34ed94c1d66357f4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <[email protected]> | Wed Aug 14 12:44:39 2013 +0300 |
committer | Al Viro <[email protected]> | Sat Aug 24 12:10:29 2013 -0400 |
tree | 33027a6684f4746885db8149a79af09c0edd39d3 | |
parent | 821ff77c6c524c40667e01483fc72428b58810b4 [diff] |
VFS: collect_mounts() should return an ERR_PTR This should actually be returning an ERR_PTR on error instead of NULL. That was how it was designed and all the callers expect it. [AV: actually, that's what "VFS: Make clone_mnt()/copy_tree()/collect_mounts() return errors" missed - originally collect_mounts() was expected to return NULL on failure] Cc: <[email protected]> # 3.10+ Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Al Viro <[email protected]>