summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2_ioctl.h
diff options
context:
space:
mode:
authorTao Ma2010-09-19 07:42:28 +0200
committerJoel Becker2010-09-23 23:16:47 +0200
commit4a452de4fdfe4dbb27e491904d8bfaf1262bdff4 (patch)
tree94b4e9fb4fc31ede4721bab8f2e9281bef034d79 /fs/ocfs2/ocfs2_ioctl.h
parentocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent. (diff)
downloadkernel-qcow2-linux-4a452de4fdfe4dbb27e491904d8bfaf1262bdff4.tar.gz
kernel-qcow2-linux-4a452de4fdfe4dbb27e491904d8bfaf1262bdff4.tar.xz
kernel-qcow2-linux-4a452de4fdfe4dbb27e491904d8bfaf1262bdff4.zip
ocfs2: Move 'wanted' into parens of ocfs2_resmap_resv_bits.
The first time I read the function ocfs2_resmap_resv_bits, I consider about what 'wanted' will be used and consider about the comments. Then I find it is only used if the reservation is empty. ;) So we'd better move it to the parens so that it make the code more readable, what's more, ocfs2_resmap_resv_bits is used so frequently and we should save some cpus. Acked-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2_ioctl.h')
0 files changed, 0 insertions, 0 deletions