From: Brian Foster Date: Fri, 28 Nov 2014 03:00:16 +0000 (+1100) Subject: xfs: replace on-stack xfs_trans_res with pointer in xfs_create() X-Git-Tag: omap-for-v3.19/fixes-rc1~115^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062647a8b41928f4fb97f967b24092be68f5f0f0;p=pandora-kernel.git xfs: replace on-stack xfs_trans_res with pointer in xfs_create() There's no need to store a full struct xfs_trans_res on the stack in xfs_create() and copy the fields. Use a pointer to the appropriate structures embedded in the xfs_mount. Signed-off-by: Brian Foster Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed