From: Dave Chinner Date: Sun, 1 Feb 2015 23:15:35 +0000 (+1100) Subject: xfs: factor out xfs_ioctl_setattr transaciton preamble X-Git-Tag: fixes-v4.0-rc1~157^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f3d17ab060ec21cead88b81c65050a6ff77e9be;p=pandora-kernel.git xfs: factor out xfs_ioctl_setattr transaciton preamble The setup of the transaction is done after a random smattering of checks and before another bunch of ioperations specific validity checks. Pull all the preamble out into a helper function that returns a transaction or error. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed