[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>
This commit is contained in:
@@ -23,8 +23,7 @@ int gfs2_block_map(struct gfs2_inode *ip,
|
||||
uint64_t *dblock, uint32_t *extlen);
|
||||
|
||||
typedef int (*gfs2_truncator_t) (struct gfs2_inode * ip, uint64_t size);
|
||||
int gfs2_truncatei(struct gfs2_inode *ip, uint64_t size,
|
||||
gfs2_truncator_t truncator);
|
||||
int gfs2_truncatei(struct gfs2_inode *ip, uint64_t size);
|
||||
int gfs2_truncatei_resume(struct gfs2_inode *ip);
|
||||
int gfs2_file_dealloc(struct gfs2_inode *ip);
|
||||
|
||||
|
Reference in New Issue
Block a user