OSDN Git Service

ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
authorWang Shilong <wshilong@ddn.com>
Wed, 3 Oct 2018 16:19:21 +0000 (12:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Oct 2018 16:19:21 +0000 (12:19 -0400)
commit182a79e0c17147d2c2d3990a9a7b6b58a1561c7a
treec0124cc82e0418cfbcbb437efbf8994b99c0c594
parentdc7ac6c4cae3b58724c2f1e21a7c05ce19ecd5a8
ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR

We return most failure of dquota_initialize() except
inode evict, this could make a bit sense, for example
we allow file removal even quota files are broken?

But it dosen't make sense to allow setting project
if quota files etc are broken.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/ioctl.c