summaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorJan Kara2016-02-23 04:43:04 +0100
committerTheodore Ts'o2016-02-23 04:43:04 +0100
commit3fd164629d25b04f291a79a013dcc7ce1a301269 (patch)
tree52e5cd01818b7d390361d5f1a459b1c1edd8ad5d /fs/mbcache.c
parentmbcache: get rid of _e_hash_list_head (diff)
downloadkernel-qcow2-linux-3fd164629d25b04f291a79a013dcc7ce1a301269.tar.gz
kernel-qcow2-linux-3fd164629d25b04f291a79a013dcc7ce1a301269.tar.xz
kernel-qcow2-linux-3fd164629d25b04f291a79a013dcc7ce1a301269.zip
ext4: shortcut setting of xattr to the same value
When someone tried to set xattr to the same value (i.e., not changing anything) we did all the work of removing original xattr, possibly breaking references to shared xattr block, inserting new xattr, and merging xattr blocks again. Since this is not so rare operation and it is relatively cheap for us to detect this case, check for this and shortcut xattr setting in that case. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions