diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-26 10:51:20 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-26 10:51:20 -0400 |
commit | f25ef0c1b4e032b2641857ac4cff3315c6eb90e3 (patch) | |
tree | bb07e8ed49264213cfb5d1694f19f3ece8cad1f0 /fs/gfs2/ops_vm.c | |
parent | 81456807a33c2122e2f1f92acfbaaa77b3d06c3c (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/ops_vm.c')
-rw-r--r-- | fs/gfs2/ops_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_vm.c b/fs/gfs2/ops_vm.c index 08709f19ea98..910722d4c483 100644 --- a/fs/gfs2/ops_vm.c +++ b/fs/gfs2/ops_vm.c | |||
@@ -104,7 +104,7 @@ static int alloc_page_backing(struct gfs2_inode *ip, struct page *page) | |||
104 | goto out_ipres; | 104 | goto out_ipres; |
105 | 105 | ||
106 | if (gfs2_is_stuffed(ip)) { | 106 | if (gfs2_is_stuffed(ip)) { |
107 | error = gfs2_unstuff_dinode(ip, gfs2_unstuffer_page, NULL); | 107 | error = gfs2_unstuff_dinode(ip, NULL); |
108 | if (error) | 108 | if (error) |
109 | goto out_trans; | 109 | goto out_trans; |
110 | } | 110 | } |