summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-31 00:55:34 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-07-31 00:55:34 -0400
commit9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02 (patch)
tree99ee08e223359bf4afc49fa120ec14e8c384ac0b /fs/ext4/mballoc.c
parent191eac33009e6a6d31e87cfa425a20d0e79704b4 (diff)
downloadlinux-9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02.tar.gz
linux-9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02.tar.bz2
linux-9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02.zip
ext4: convert swap_inode_data() over to use swap() on most of the fields
For some odd reason, it forces a byte-by-byte copy of each field. A plain old swap() on most of these fields would be more efficient. We do need to retain the memswap of i_data however as that field is an array. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions