summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-08-23 08:28:05 +0000
committerAlex Elder <aelder@sgi.com>2011-10-11 21:14:59 -0500
commit5a8ee6bafdd0ab8555adceac8b2cec539a552a1f (patch)
tree58ee49a1a736bac15082444e3cd85f0ba568d63d /fs/xfs/xfs_attr.c
parent527cfdf19dd538a5a9e46b9bed0f30a38c28438d (diff)
downloadlinux-stable-5a8ee6bafdd0ab8555adceac8b2cec539a552a1f.tar.gz
linux-stable-5a8ee6bafdd0ab8555adceac8b2cec539a552a1f.tar.bz2
linux-stable-5a8ee6bafdd0ab8555adceac8b2cec539a552a1f.zip
xfs: move more delwri setup into xfs_buf_delwri_queue
Do not transfer a reference held by the caller to the buffer on the list, or decrement it in xfs_buf_delwri_queue, but instead grab a new reference if needed, and let the caller drop its own reference. Also move setting of the XBF_DELWRI and XBF_ASYNC flags into xfs_buf_delwri_queue, and only do it if needed. Note that for now xfs_buf_unlock already has XBF_DELWRI, but that will change in the following patches. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr.c')
0 files changed, 0 insertions, 0 deletions