xfsprogs: sync libxfs/xfs_trans.c to the kernel code changes
PATCH 1/2 xfsprogs: sync libxfs/xfs_trans.c to the kernel code changes
Sync libxfs/xfs_trans.c to the kernel code change of replacing the hard-coding number "128" with xfs_buf_log_overhead().
Signed-off-by Jie Liu <[email protected]>
Cc Dave Chinner <[email protected]>
--- include/xfs_trans.h | 1 + libxfs/xfs_trans.c | 113 +++++++++++++++++++++++++++++++++------------------ 2 files changed, 75 insertions(+), 39 deletions(-)
include/xfs_trans.h +1 -0
@@ -504,5 +504,6 @@ extern kmem_zone_t *xfs_log_item_desc_zone;void xfs_trans_init (struct xfs_mount *);int xfs_trans_roll (struct xfs_trans **,struct xfs_inode *); +uint xfs_buf_log_overhead (void );#endif /* __XFS_TRANS_H__ */
libxfs/xfs_trans.c +74 -39
271 lines not on this page · raw message
Signature · 6 lines
1.7.9.5 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs