]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: split out transaction reservation code
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Aug 2013 10:49:32 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 21:36:16 +0000 (16:36 -0500)
commit7fd36c4418ee86712db6871ac95ab23743224bff
tree8f449f4eba8c31a16362e8640089489aa7579eff
parentd386b32b553ce145fb40f0d9360b6e5a79b5a80c
xfs: split out transaction reservation code

The transaction reservation size calculations is used by both kernel
and userspace, but most of the transaction code in xfs_trans.c is
kernel specific. Split all the transaction reservation code out into
it's own files to make sharing with userspace simpler. This just
leaves kernel-only definitions in xfs_trans.h, so it doesn't need to
be shared with userspace anymore, either.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Makefile
fs/xfs/xfs_acl.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_discard.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_quotaops.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h
fs/xfs/xfs_trans_resv.c [new file with mode: 0644]
fs/xfs/xfs_trans_resv.h [new file with mode: 0644]