[XFS] kill xfs_igrow_start and xfs_igrow_finish
xfs_igrow_start just expands to xfs_zero_eof with two asserts that are useless in the context of the only caller and some rather confusing comments. xfs_igrow_finish is just a few lines of code decorated again with useless asserts and confusing comments. Just kill those two and merge them into xfs_setattr. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31186a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
committed by
Niv Sardi
parent
48b62a1a97
commit
61436febae
@ -507,9 +507,6 @@ int xfs_itruncate_start(xfs_inode_t *, uint, xfs_fsize_t);
|
||||
int xfs_itruncate_finish(struct xfs_trans **, xfs_inode_t *,
|
||||
xfs_fsize_t, int, int);
|
||||
int xfs_iunlink(struct xfs_trans *, xfs_inode_t *);
|
||||
int xfs_igrow_start(xfs_inode_t *, xfs_fsize_t, struct cred *);
|
||||
void xfs_igrow_finish(struct xfs_trans *, xfs_inode_t *,
|
||||
xfs_fsize_t, int);
|
||||
|
||||
void xfs_idestroy_fork(xfs_inode_t *, int);
|
||||
void xfs_idestroy(xfs_inode_t *);
|
||||
|
Reference in New Issue
Block a user