mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
xfs: remove unused iflush stale parameter
The stale parameter was used to control the now unused shutdown parameter of xfs_trans_ail_remove(). Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Allison Collins <allison.henderson@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
2b3cf09356
commit
88fc187984
@ -1126,7 +1126,7 @@ restart:
|
||||
if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
|
||||
xfs_iunpin_wait(ip);
|
||||
/* xfs_iflush_abort() drops the flush lock */
|
||||
xfs_iflush_abort(ip, false);
|
||||
xfs_iflush_abort(ip);
|
||||
goto reclaim;
|
||||
}
|
||||
if (xfs_ipincount(ip)) {
|
||||
|
@ -3702,7 +3702,7 @@ xfs_iflush(
|
||||
return 0;
|
||||
|
||||
abort:
|
||||
xfs_iflush_abort(ip, false);
|
||||
xfs_iflush_abort(ip);
|
||||
shutdown:
|
||||
xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
|
||||
return error;
|
||||
|
@ -762,10 +762,9 @@ xfs_iflush_done(
|
||||
*/
|
||||
void
|
||||
xfs_iflush_abort(
|
||||
xfs_inode_t *ip,
|
||||
bool stale)
|
||||
struct xfs_inode *ip)
|
||||
{
|
||||
struct xfs_inode_log_item *iip = ip->i_itemp;
|
||||
struct xfs_inode_log_item *iip = ip->i_itemp;
|
||||
|
||||
if (iip) {
|
||||
xfs_trans_ail_delete(&iip->ili_item, 0);
|
||||
@ -793,7 +792,7 @@ xfs_istale_done(
|
||||
struct xfs_buf *bp,
|
||||
struct xfs_log_item *lip)
|
||||
{
|
||||
xfs_iflush_abort(INODE_ITEM(lip)->ili_inode, true);
|
||||
xfs_iflush_abort(INODE_ITEM(lip)->ili_inode);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -34,7 +34,7 @@ extern void xfs_inode_item_init(struct xfs_inode *, struct xfs_mount *);
|
||||
extern void xfs_inode_item_destroy(struct xfs_inode *);
|
||||
extern void xfs_iflush_done(struct xfs_buf *, struct xfs_log_item *);
|
||||
extern void xfs_istale_done(struct xfs_buf *, struct xfs_log_item *);
|
||||
extern void xfs_iflush_abort(struct xfs_inode *, bool);
|
||||
extern void xfs_iflush_abort(struct xfs_inode *);
|
||||
extern int xfs_inode_item_format_convert(xfs_log_iovec_t *,
|
||||
struct xfs_inode_log_format *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user