[GFS2] Remove uneeded endian conversion
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 2 Oct 2006 16:39:19 +0000 (12:39 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 2 Oct 2006 16:39:19 +0000 (12:39 -0400)
commit48516ced21e83a755ebae3d1ed03f1731befc391
tree9cf3c78506056d36909ce8da5560162d4c0fbc17
parent3cf1e7bed4681bdb1c14b6e146ae9c0afb6c1552
[GFS2] Remove uneeded endian conversion

In many places GFS2 was calling the endian conversion routines
for an inode even when only a single field, or a few fields might
have changed. As a result we were copying lots of data needlessly.

This patch replaces those calls with conversion of just the
required fields in each case. This should be faster and easier
to understand. There are still other places which suffer from this
problem, but this is a start in the right direction.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/inode.c
fs/gfs2/ops_address.c