[PATCH 2/6] f2fs: fix to return error number of read_all_xattrs correctly

2016-09-18 Thread Chao Yu
From: Chao Yu We treat all error in read_all_xattrs as a no memory error, which covers the real reason of failure in it. Fix it by return correct errno in order to reflect the real cause. Signed-off-by: Chao Yu --- fs/f2fs/xattr.c | 37

[PATCH 2/6] f2fs: fix to return error number of read_all_xattrs correctly

2016-09-18 Thread Chao Yu
From: Chao Yu We treat all error in read_all_xattrs as a no memory error, which covers the real reason of failure in it. Fix it by return correct errno in order to reflect the real cause. Signed-off-by: Chao Yu --- fs/f2fs/xattr.c | 37 ++--- 1 file changed, 22