commit | 9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Jul 31 00:55:34 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jul 31 00:55:34 2017 -0400 |
tree | 99ee08e223359bf4afc49fa120ec14e8c384ac0b | |
parent | 191eac33009e6a6d31e87cfa425a20d0e79704b4 [diff] |
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>