diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-07-04 16:54:47 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-07-29 23:00:31 +0200 |
commit | 08358906ed78f6ab4d3ff8e4fd1b87b9a4aea645 (patch) | |
tree | 47884ad2cba2ede418c6f4716c778c9d6ec88e81 /fs/xfs/xfs_inode.h | |
parent | xfs: split xfs_dialloc (diff) | |
download | linux-08358906ed78f6ab4d3ff8e4fd1b87b9a4aea645.tar.xz linux-08358906ed78f6ab4d3ff8e4fd1b87b9a4aea645.zip |
xfs: remove the alloc_done argument to xfs_dialloc
We can simplify check the IO_agbp pointer for being non-NULL instead of
passing another argument through two layers of function calls.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index c2e2da3abae2..04d2fe421b97 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -517,7 +517,7 @@ void xfs_inode_free(struct xfs_inode *ip); */ int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, xfs_nlink_t, xfs_dev_t, prid_t, int, - struct xfs_buf **, boolean_t *, xfs_inode_t **); + struct xfs_buf **, xfs_inode_t **); uint xfs_ip2xflags(struct xfs_inode *); uint xfs_dic2xflags(struct xfs_dinode *); |