diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 12:49:32 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 23:36:16 +0200 |
commit | 7fd36c4418ee86712db6871ac95ab23743224bff (patch) | |
tree | 8f449f4eba8c31a16362e8640089489aa7579eff /fs/xfs/Makefile | |
parent | xfs: sync minor header differences needed by userspace. (diff) | |
download | linux-7fd36c4418ee86712db6871ac95ab23743224bff.tar.xz linux-7fd36c4418ee86712db6871ac95ab23743224bff.zip |
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>
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r-- | fs/xfs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index 4a4508023a3c..dc72b6ba109c 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -47,6 +47,7 @@ xfs-y += xfs_aops.o \ xfs_mru_cache.o \ xfs_rename.o \ xfs_super.o \ + xfs_trans.o \ xfs_utils.o \ xfs_vnodeops.o \ xfs_xattr.o \ @@ -76,7 +77,7 @@ xfs-y += xfs_alloc.o \ xfs_log_recover.o \ xfs_mount.o \ xfs_symlink.o \ - xfs_trans.o + xfs_trans_resv.o # low-level transaction/log code xfs-y += xfs_log.o \ |