aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-26 10:51:20 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-26 10:51:20 -0400
commitf25ef0c1b4e032b2641857ac4cff3315c6eb90e3 (patch)
treebb07e8ed49264213cfb5d1694f19f3ece8cad1f0 /fs/gfs2/dir.c
parent81456807a33c2122e2f1f92acfbaaa77b3d06c3c (diff)
[GFS2] Tidy gfs2_unstuffer_page
Tidy up gfs2_unstuffer_page by: a) Moving it into bmap.c b) Making it static c) Calling it directly from gfs2_unstuff_dinode d) Updating all callers of gfs2_unstuff_dinode due to one less required argument. It doesn't change the behaviour at all. 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 f62223b9e53d..563b99e419b6 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -173,7 +173,7 @@ static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf,
173 return -EINVAL; 173 return -EINVAL;
174 174
175 if (gfs2_is_stuffed(ip)) { 175 if (gfs2_is_stuffed(ip)) {
176 error = gfs2_unstuff_dinode(ip, NULL, NULL); 176 error = gfs2_unstuff_dinode(ip, NULL);
177 if (error) 177 if (error)
178 return error; 178 return error;
179 } 179 }