summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-05 14:41:30 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-05 14:41:30 -0400
commita67cdbd4579c387c021a17c7447da8b88f2a94f4 (patch)
tree9c2a7825b7b43cd00fff8388f69c96fd6683a405 /fs/gfs2/lops.c
parentcca195c5c09b81065018dee39f4013b95bf47502 (diff)
downloadop-kernel-dev-a67cdbd4579c387c021a17c7447da8b88f2a94f4.zip
op-kernel-dev-a67cdbd4579c387c021a17c7447da8b88f2a94f4.tar.gz
[GFS2] Style changes in logging code
As per Jan Engelhardt's comments, removed some unused code and removed some brackets which were not required. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index 07655a7..f8f6d4b 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -518,7 +518,7 @@ static void databuf_lo_before_commit(struct gfs2_sbd *sdp)
unsigned int num, n;
__be64 *ptr = NULL;
- offset += (2*sizeof(__be64) - 1);
+ offset += 2*sizeof(__be64) - 1;
offset &= ~(2*sizeof(__be64) - 1);
limit = (sdp->sd_sb.sb_bsize - offset)/sizeof(__be64);
OpenPOWER on IntegriCloud