summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode_fork.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:43 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 16:46:08 -0500
commitc5c249b42464cbcda3ac5cbdc114f6a6d5b0b7ac (patch)
tree26870433ba4e8a002497260f94394391b00d782e /fs/xfs/xfs_inode_fork.c
parent6898811459ff523ed256c07d1d5c54ba915d51ac (diff)
downloadop-kernel-dev-c5c249b42464cbcda3ac5cbdc114f6a6d5b0b7ac.zip
op-kernel-dev-c5c249b42464cbcda3ac5cbdc114f6a6d5b0b7ac.tar.gz
xfs: minor cleanups
These come from syncing the shared userspace and kernel code. Small whitespace and trivial cleanups. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode_fork.c')
-rw-r--r--fs/xfs/xfs_inode_fork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode_fork.c b/fs/xfs/xfs_inode_fork.c
index 8b8ba02..f06570b 100644
--- a/fs/xfs/xfs_inode_fork.c
+++ b/fs/xfs/xfs_inode_fork.c
@@ -780,8 +780,8 @@ xfs_iextents_copy(
}
/* Translate to on disk format */
- put_unaligned(cpu_to_be64(ep->l0), &dp->l0);
- put_unaligned(cpu_to_be64(ep->l1), &dp->l1);
+ put_unaligned_be64(ep->l0, &dp->l0);
+ put_unaligned_be64(ep->l1, &dp->l1);
dp++;
copied++;
}
OpenPOWER on IntegriCloud