summaryrefslogtreecommitdiff
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-02-22 22:43:04 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-02-22 22:43:04 -0500
commit3fd164629d25b04f291a79a013dcc7ce1a301269 (patch)
tree52e5cd01818b7d390361d5f1a459b1c1edd8ad5d /fs/mbcache.c
parentdc8d5e565f00c9442fa1cbf9acc115475628527c (diff)
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