aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2017-08-06 04:40:01 +0000
committerTheodore Ts'o <[email protected]>2017-08-06 04:40:01 +0000
commitcf0a5e818fe216dbdf5da4e829e157d27ebfc8a4 (patch)
tree2bfe8893f6a5c206521d2cc934015fba5baba9cb /net/switchdev/switchdev.c
parentext4: fix forgetten xattr lock protection in ext4_expand_extra_isize (diff)
downloadkernel-cf0a5e818fe216dbdf5da4e829e157d27ebfc8a4.tar.gz
kernel-cf0a5e818fe216dbdf5da4e829e157d27ebfc8a4.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Reviewed-by: Wang Shilong <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions