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/bmap.h | |
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/bmap.h')
-rw-r--r-- | fs/gfs2/bmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/bmap.h b/fs/gfs2/bmap.h index 25ea32905c67..b83b5924828f 100644 --- a/fs/gfs2/bmap.h +++ b/fs/gfs2/bmap.h | |||
@@ -23,8 +23,7 @@ int gfs2_block_map(struct gfs2_inode *ip, | |||
23 | uint64_t *dblock, uint32_t *extlen); | 23 | uint64_t *dblock, uint32_t *extlen); |
24 | 24 | ||
25 | typedef int (*gfs2_truncator_t) (struct gfs2_inode * ip, uint64_t size); | 25 | typedef int (*gfs2_truncator_t) (struct gfs2_inode * ip, uint64_t size); |
26 | int gfs2_truncatei(struct gfs2_inode *ip, uint64_t size, | 26 | int gfs2_truncatei(struct gfs2_inode *ip, uint64_t size); |
27 | gfs2_truncator_t truncator); | ||
28 | int gfs2_truncatei_resume(struct gfs2_inode *ip); | 27 | int gfs2_truncatei_resume(struct gfs2_inode *ip); |
29 | int gfs2_file_dealloc(struct gfs2_inode *ip); | 28 | int gfs2_file_dealloc(struct gfs2_inode *ip); |
30 | 29 | ||