f2fs: fix to detect cp error in f2fs_setxattr()
authorChao Yu <yuchao0@huawei.com>
Mon, 22 Jul 2019 09:57:06 +0000 (17:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:11 +0000 (07:57 -0700)
commita25c2cdcb61ab3d8d99623a9e72cf1747979a1f9
tree3d598ef0e5a6d17945bef3b1237ee40efef0a39a
parent955ebcd3a910b00de94be8797b20b8cfb2ee0fd8
f2fs: fix to detect cp error in f2fs_setxattr()

It needs to return -EIO if filesystem has been shutdown, fix the
miss case in f2fs_setxattr().

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/xattr.c