From: Dan Carpenter Date: Wed, 14 Aug 2013 09:44:39 +0000 (+0300) Subject: VFS: collect_mounts() should return an ERR_PTR X-Git-Tag: v3.11-rc7~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52e220d357a38cb29fa2e29f34ed94c1d66357f4;p=pandora-kernel.git 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: # 3.10+ Signed-off-by: Dan Carpenter Signed-off-by: Al Viro --- Reading git-diff-tree failed