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>
This commit is contained in:
committed by
Ben Myers
parent
f2ecc5e453
commit
08358906ed
@@ -75,8 +75,6 @@ xfs_dialloc(
|
||||
umode_t mode, /* mode bits for new inode */
|
||||
int okalloc, /* ok to allocate more space */
|
||||
struct xfs_buf **agbp, /* buf for a.g. inode header */
|
||||
boolean_t *alloc_done, /* an allocation was done to replenish
|
||||
the free inodes */
|
||||
xfs_ino_t *inop); /* inode number allocated */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user