Btrfs: fix some endian bugs handling the root times
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 Jul 2012 08:10:44 +0000 (02:10 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:26 +0000 (16:53 -0400)
commitdadd1105ca9a1e506c678e8e410e9623efdda821
tree949d3c7e461fea1df29650fa7fd2c4da23f605f7
parent55e591ffde38e0088b022129e035e18a8d04c7e6
Btrfs: fix some endian bugs handling the root times

"trans->transid" is cpu endian but we want to store the data as little
endian.  "item->ctime.nsec" is only 32 bits, not 64.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/ioctl.c
fs/btrfs/root-tree.c
fs/btrfs/transaction.c