diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-31 06:55:34 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-07-31 06:55:34 +0200 |
commit | 9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02 (patch) | |
tree | 99ee08e223359bf4afc49fa120ec14e8c384ac0b /fs/ext4/mballoc.c | |
parent | ext4: error should be cleared if ea_inode isn't added to the cache (diff) | |
download | linux-9c5d58fb9e1df8c9ead4daf9e770ce61e4256e02.tar.xz 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