summaryrefslogtreecommitdiff
path: root/fs/autofs4/root.c
diff options
context:
space:
mode:
authorRui Xiang <rui.xiang@huawei.com>2014-01-24 03:54:59 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 04:36:59 +0400
commitda29b7543957c6e967066f1ee18fab2feb0eeeb3 (patch)
tree677ef5f4b80cc040d69a062aafaa573ab4b85304 /fs/autofs4/root.c
parentfbff08706d12fcdb160604c4ba790df6707c32cb (diff)
downloadlinux-da29b7543957c6e967066f1ee18fab2feb0eeeb3.tar.xz
autofs: fix the return value of autofs4_fill_super
While kzallocing sbi/ino fails, it should return -ENOMEM. And it should return the err value from autofs_prepare_pipe. Signed-off-by: Rui Xiang <rui.xiang@huawei.com> Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4/root.c')
0 files changed, 0 insertions, 0 deletions