summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@men-an-tol.chygwyn.com>2006-01-24 10:37:06 +0000
committerSteven Whitehouse <steve@men-an-tol.chygwyn.com>2006-01-24 10:37:06 +0000
commitaa6a85a971065b013a71a399c3fc4312e2dd81eb (patch)
treeae2d11d0ec557f17cce29e79b18df29b78f9b0f7 /fs/gfs2/ops_inode.c
parent8ca05c60de49c3bb523a435abc216b6b6eeb1067 (diff)
[GFS2] Remove pointless argument relating to truncate
For some reason a function pointer was being passed through the truncate code which only ever took one value. This removes the function pointer and replaces it with a single call to the function in question. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 89417a6cb72..6fff30ef8b7 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -994,7 +994,7 @@ static int setattr_size(struct inode *inode, struct iattr *attr)
return error;
}
- error = gfs2_truncatei(ip, attr->ia_size, gfs2_truncator_page);
+ error = gfs2_truncatei(ip, attr->ia_size);
if (error)
return error;