[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>
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 @@
return error;
}
- error = gfs2_truncatei(ip, attr->ia_size, gfs2_truncator_page);
+ error = gfs2_truncatei(ip, attr->ia_size);
if (error)
return error;