xfs: replace on-stack xfs_trans_res with pointer in xfs_create()
authorBrian Foster <bfoster@redhat.com>
Fri, 28 Nov 2014 03:00:16 +0000 (14:00 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 28 Nov 2014 03:00:16 +0000 (14:00 +1100)
commit062647a8b41928f4fb97f967b24092be68f5f0f0
tree0ab56939442dbf4112638c48e8d77948df9f9c44
parent78c931b8be75456562b55ed4e27878f1519e1367
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 <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c