aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2008-01-28 11:13:02 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 10:39:49 +0100
commitfe6c991c52a0dd07d4a19d392fd65048226cb1bc (patch)
tree629a2a35887047f7e973edeb9b543fe833a1065c /fs/gfs2/dir.c
parent[GFS2] Streamline indirect pointer tree height calculation (diff)
downloadlinux-dev-fe6c991c52a0dd07d4a19d392fd65048226cb1bc.tar.xz
linux-dev-fe6c991c52a0dd07d4a19d392fd65048226cb1bc.zip
[GFS2] Get rid of unneeded parameter in gfs2_rlist_alloc
This patch removed the unnecessary parameter from function gfs2_rlist_alloc. The parameter was always passed in as 0. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r--fs/gfs2/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index c34709512b19..78c236fb34ec 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -1894,7 +1894,7 @@ static int leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len,
l_blocks++;
}
- gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE, 0);
+ gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE);
for (x = 0; x < rlist.rl_rgrps; x++) {
struct gfs2_rgrpd *rgd;