summaryrefslogtreecommitdiffstats
path: root/fs/ext2
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/ext2
parentdc8d5e565f00c9442fa1cbf9acc115475628527c (diff)
downloadlinux-stable-3fd164629d25b04f291a79a013dcc7ce1a301269.tar.gz
linux-stable-3fd164629d25b04f291a79a013dcc7ce1a301269.tar.bz2
linux-stable-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/ext2')
0 files changed, 0 insertions, 0 deletions