aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2006-09-05 08:30:40 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-07 09:42:56 -0400
commitc53921248c79197befa7caa4c17b1af5c077a2c2 (patch)
treee446672af150784bee2ac92ccc991a62ed699cca /fs/gfs2/dir.c
parent7b62536141927212158ab84ce2afda9319ae6f2d (diff)
[GFS2] More style changes
Remove redundant brackets Signed-off-by: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r--fs/gfs2/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index d74a52bda540..f3dbda216caf 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -284,7 +284,7 @@ static int gfs2_dir_read_data(struct gfs2_inode *ip, char *buf,
284 if (offset >= ip->i_di.di_size) 284 if (offset >= ip->i_di.di_size)
285 return 0; 285 return 0;
286 286
287 if ((offset + size) > ip->i_di.di_size) 287 if (offset + size > ip->i_di.di_size)
288 size = ip->i_di.di_size - offset; 288 size = ip->i_di.di_size - offset;
289 289
290 if (!size) 290 if (!size)
@@ -399,7 +399,7 @@ static int gfs2_dirent_find_space(const struct gfs2_dirent *dent,
399 399
400 if (!dent->de_inum.no_addr) 400 if (!dent->de_inum.no_addr)
401 actual = GFS2_DIRENT_SIZE(0); 401 actual = GFS2_DIRENT_SIZE(0);
402 if ((totlen - actual) >= required) 402 if (totlen - actual >= required)
403 return 1; 403 return 1;
404 return 0; 404 return 0;
405} 405}