From: Dave Chinner Date: Wed, 1 Oct 2014 23:04:22 +0000 (+1000) Subject: xfs: xfs_buf_ioend and xfs_buf_iodone_work duplicate functionality X-Git-Tag: fixes-against-v3.18-rc2~104^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8aaba9a783c8e5d2c58ebe69650ea31b91bb745;p=pandora-kernel.git xfs: xfs_buf_ioend and xfs_buf_iodone_work duplicate functionality We do some work in xfs_buf_ioend, and some work in xfs_buf_iodone_work, but much of that functionality is the same. This work can all be done in a single function, leaving xfs_buf_iodone just a wrapper to determine if we should execute it by workqueue or directly. hence rename xfs_buf_iodone_work to xfs_buf_ioend(), and add a new xfs_buf_ioend_async() for places that need async processing. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed