diff options
author | Steven Whitehouse <steve@men-an-tol.chygwyn.com> | 2006-01-24 10:37:06 (GMT) |
---|---|---|
committer | Steven Whitehouse <steve@men-an-tol.chygwyn.com> | 2006-01-24 10:37:06 (GMT) |
commit | aa6a85a971065b013a71a399c3fc4312e2dd81eb (patch) | |
tree | ae2d11d0ec557f17cce29e79b18df29b78f9b0f7 /fs/gfs2/ops_inode.c | |
parent | 8ca05c60de49c3bb523a435abc216b6b6eeb1067 (diff) | |
download | linux-fsl-qoriq-aa6a85a971065b013a71a399c3fc4312e2dd81eb.tar.xz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index 89417a6..6fff30e 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; |