aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/bitmap.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-04-23 10:00:42 -0400
committerJan Kara <jack@suse.cz>2014-05-06 17:18:16 -0400
commita228bf8f0a3e5f1406edbd61f7400e87e23af5f7 (patch)
tree44b6806245ad0c93f607c4df73ab7c26a404347d /fs/reiserfs/bitmap.c
parentcf776a7a4dafa330dd371a6a301ddf9e38747d93 (diff)
reiserfs: cleanup, remove unnecessary parens
The reiserfs code is littered with extra parens in places where the authors may not have been certain about precedence of & vs ->. This patch cleans them out. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/bitmap.c')
-rw-r--r--fs/reiserfs/bitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/reiserfs/bitmap.c b/fs/reiserfs/bitmap.c
index 543a2a23a293..59f786dded49 100644
--- a/fs/reiserfs/bitmap.c
+++ b/fs/reiserfs/bitmap.c
@@ -78,7 +78,7 @@ int is_reusable(struct super_block *s, b_blocknr_t block, int bit_value)
78 * up front so we need to account for it. 78 * up front so we need to account for it.
79 */ 79 */
80 if (unlikely(test_bit(REISERFS_OLD_FORMAT, 80 if (unlikely(test_bit(REISERFS_OLD_FORMAT,
81 &(REISERFS_SB(s)->s_properties)))) { 81 &REISERFS_SB(s)->s_properties))) {
82 b_blocknr_t bmap1 = REISERFS_SB(s)->s_sbh->b_blocknr + 1; 82 b_blocknr_t bmap1 = REISERFS_SB(s)->s_sbh->b_blocknr + 1;
83 if (block >= bmap1 && 83 if (block >= bmap1 &&
84 block <= bmap1 + bmap_count) { 84 block <= bmap1 + bmap_count) {
@@ -524,7 +524,7 @@ static void __discard_prealloc(struct reiserfs_transaction_handle *th,
524 if (dirty) 524 if (dirty)
525 reiserfs_update_sd(th, inode); 525 reiserfs_update_sd(th, inode);
526 ei->i_prealloc_block = save; 526 ei->i_prealloc_block = save;
527 list_del_init(&(ei->i_prealloc_list)); 527 list_del_init(&ei->i_prealloc_list);
528} 528}
529 529
530/* FIXME: It should be inline function */ 530/* FIXME: It should be inline function */
@@ -1417,7 +1417,7 @@ struct buffer_head *reiserfs_read_bitmap_block(struct super_block *sb,
1417 * I doubt there are any of these left, but just in case... 1417 * I doubt there are any of these left, but just in case...
1418 */ 1418 */
1419 if (unlikely(test_bit(REISERFS_OLD_FORMAT, 1419 if (unlikely(test_bit(REISERFS_OLD_FORMAT,
1420 &(REISERFS_SB(sb)->s_properties)))) 1420 &REISERFS_SB(sb)->s_properties)))
1421 block = REISERFS_SB(sb)->s_sbh->b_blocknr + 1 + bitmap; 1421 block = REISERFS_SB(sb)->s_sbh->b_blocknr + 1 + bitmap;
1422 else if (bitmap == 0) 1422 else if (bitmap == 0)
1423 block = (REISERFS_DISK_OFFSET_IN_BYTES >> sb->s_blocksize_bits) + 1; 1423 block = (REISERFS_DISK_OFFSET_IN_BYTES >> sb->s_blocksize_bits) + 1;