]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/xfs/xfs_dquot_item.c
xfs: pass shutdown method into xfs_trans_ail_delete_bulk
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Apr 2012 05:58:41 +0000 (15:58 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 14 May 2012 21:20:33 +0000 (16:20 -0500)
commit04913fdd91f342e537005ef1233f98068b925a7f
treeb8eaacda9302290fb1833d47bf6c7be5813a80cb
parenta8569171ba26344a4c0308fc0da8f41795408ebc
xfs: pass shutdown method into xfs_trans_ail_delete_bulk

xfs_trans_ail_delete_bulk() can be called from different contexts so
if the item is not in the AIL we need different shutdown for each
context.  Pass in the shutdown method needed so the correct action
can be taken.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_sync.c
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_trans_priv.h