]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34de5dbf8f01cb8d7ca68a4394b6152f32a30a61
tree949d3c7e461fea1df29650fa7fd2c4da23f605f7
parentb09fc94795f1510b5b51ea680e4b2f5fd080943a
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