]> 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)
commit42b77ba2d2396f260f54304dfe6954cedb6353e6
treec2d6203d6cf6e923292ea60ca17b15385b47d79e
parent449fe0d13956c1a06a3e9d3f88d98a15b172f53d
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