diff options
author | Brian Foster <bfoster@redhat.com> | 2012-11-07 18:21:12 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-08 22:27:49 +0100 |
commit | 8ca149de80478441352a8622ea15fae7de703ced (patch) | |
tree | d98cd5200aa1180b01925a400fe6e4155e0e5a0b /fs/xfs/xfs_icache.h | |
parent | xfs: create function to scan and clear EOFBLOCKS inodes (diff) | |
download | linux-8ca149de80478441352a8622ea15fae7de703ced.tar.xz linux-8ca149de80478441352a8622ea15fae7de703ced.zip |
xfs: add XFS_IOC_FREE_EOFBLOCKS ioctl
The XFS_IOC_FREE_EOFBLOCKS ioctl allows users to invoke an EOFBLOCKS
scan. The xfs_eofblocks structure is defined to support the command
parameters (scan mode).
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r-- | fs/xfs/xfs_icache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h index cb6b8d0eee61..4934a77024cf 100644 --- a/fs/xfs/xfs_icache.h +++ b/fs/xfs/xfs_icache.h @@ -37,7 +37,7 @@ void xfs_inode_set_reclaim_tag(struct xfs_inode *ip); void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip); void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip); -int xfs_icache_free_eofblocks(struct xfs_mount *, int); +int xfs_icache_free_eofblocks(struct xfs_mount *, struct xfs_eofblocks *); int xfs_sync_inode_grab(struct xfs_inode *ip); int xfs_inode_ag_iterator(struct xfs_mount *mp, |