[PATCH 1/2] autofs: fix the return value of autofs4_fill_super

2013-12-02 Thread Ian Kent
From: Rui Xiang 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 Acked-by: Ian Kent --- fs/autofs4/inode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/fs/aut

[PATCH 1/2] autofs: fix the return value of autofs4_fill_super

2013-08-30 Thread Rui Xiang
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 --- fs/autofs4/inode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index