diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-05 14:41:30 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-05 14:41:30 -0400 |
commit | a67cdbd4579c387c021a17c7447da8b88f2a94f4 (patch) | |
tree | 9c2a7825b7b43cd00fff8388f69c96fd6683a405 /fs/gfs2/recovery.c | |
parent | cca195c5c09b81065018dee39f4013b95bf47502 (diff) |
[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/recovery.c')
-rw-r--r-- | fs/gfs2/recovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c index ab55191926c3..a27569c5d85e 100644 --- a/fs/gfs2/recovery.c +++ b/fs/gfs2/recovery.c | |||
@@ -306,8 +306,8 @@ static int foreach_descriptor(struct gfs2_jdesc *jd, unsigned int start, | |||
306 | u32 length; | 306 | u32 length; |
307 | __be64 *ptr; | 307 | __be64 *ptr; |
308 | unsigned int offset = sizeof(struct gfs2_log_descriptor); | 308 | unsigned int offset = sizeof(struct gfs2_log_descriptor); |
309 | offset += (sizeof(__be64)-1); | 309 | offset += sizeof(__be64) - 1; |
310 | offset &= ~(sizeof(__be64)-1); | 310 | offset &= ~(sizeof(__be64) - 1); |
311 | 311 | ||
312 | while (start != end) { | 312 | while (start != end) { |
313 | error = gfs2_replay_read_block(jd, start, &bh); | 313 | error = gfs2_replay_read_block(jd, start, &bh); |