diff options
author | Steven Whitehouse <steve@men-an-tol.chygwyn.com> | 2006-01-24 05:37:06 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@men-an-tol.chygwyn.com> | 2006-01-24 05:37:06 -0500 |
commit | aa6a85a971065b013a71a399c3fc4312e2dd81eb (patch) | |
tree | ae2d11d0ec557f17cce29e79b18df29b78f9b0f7 /fs/gfs2/ops_inode.c | |
parent | 8ca05c60de49c3bb523a435abc216b6b6eeb1067 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index 89417a6cb723..6fff30ef8b70 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) | |||
994 | return error; | 994 | return error; |
995 | } | 995 | } |
996 | 996 | ||
997 | error = gfs2_truncatei(ip, attr->ia_size, gfs2_truncator_page); | 997 | error = gfs2_truncatei(ip, attr->ia_size); |
998 | if (error) | 998 | if (error) |
999 | return error; | 999 | return error; |
1000 | 1000 | ||