]> git.baikalelectronics.ru Git - kernel.git/commit
ext4, project: expand inode extra size if possible
authorMiao Xie <miaoxie@huawei.com>
Sun, 6 Aug 2017 05:00:49 +0000 (01:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 6 Aug 2017 05:00:49 +0000 (01:00 -0400)
commit5373ab829d4c53a44ddd7a90e451ac967b0f125f
treec2d6203d6cf6e923292ea60ca17b15385b47d79e
parentbfa29aeb46e4ffaaa78a5bbbc92253435fdc7e10
ext4, project: expand inode extra size if possible

When upgrading from old format, try to set project id
to old file first time, it will return EOVERFLOW, but if
that file is dirtied(touch etc), changing project id will
be allowed, this might be confusing for users, we could
try to expand @i_extra_isize here too.

Reported-by: Zhang Yi <yi.zhang@huawei.com>
Signed-off-by: Miao Xie <miaoxie@huawei.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4_jbd2.h
fs/ext4/inode.c
fs/ext4/ioctl.c