summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-02-20 11:08:56 +0100
committerJosef Bacik <jbacik@fb.com>2014-03-10 20:16:42 +0100
commitbb14a59b619d3a9993c3fa04bb10347db35ca550 (patch)
tree5c2af85d47ef6eab469a4e33eb4f5a2820bdf077 /fs/btrfs/disk-io.c
parentBtrfs: remove unnecessary memory barrier in btrfs_sync_log() (diff)
downloadlinux-bb14a59b619d3a9993c3fa04bb10347db35ca550.tar.xz
linux-bb14a59b619d3a9993c3fa04bb10347db35ca550.zip
Btrfs: use signed integer instead of unsigned long integer for log transid
The log trans id is initialized to be 0 every time we create a log tree, and the log tree need be re-created after a new transaction is started, it means the log trans id is unlikely to be a huge number, so we can use signed integer instead of unsigned long integer to save a bit space. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions