diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-31 00:55:34 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-07-31 00:55:34 -0400 |
commit | 9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02 (patch) | |
tree | 99ee08e223359bf4afc49fa120ec14e8c384ac0b /fs/userfaultfd.c | |
parent | 191eac33009e6a6d31e87cfa425a20d0e79704b4 (diff) | |
download | talos-op-linux-9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02.tar.gz talos-op-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/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions