commit | cf0a5e818fe216dbdf5da4e829e157d27ebfc8a4 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaoxie@huawei.com> | Sun Aug 06 00:40:01 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Aug 06 00:40:01 2017 -0400 |
tree | 2bfe8893f6a5c206521d2cc934015fba5baba9cb | |
parent | 3b10fdc6d8bd048f4fb14af5eda2051ace7b8b16 [diff] |
ext4: restructure ext4_expand_extra_isize Current ext4_expand_extra_isize just tries to expand extra isize, if someone is holding xattr lock or some check fails, it will give up. So rename its name to ext4_try_to_expand_extra_isize. Besides that, we clean up unnecessary check and move some relative checks into it. Signed-off-by: Miao Xie <miaoxie@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Wang Shilong <wshilong@ddn.com>