diff options
author | Dave Chinner <david@fromorbit.com> | 2015-01-22 09:51:30 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-01-22 09:51:30 +1100 |
commit | 438c3c8d2bb910966db6fc4140e62d67b3c5f2a8 (patch) | |
tree | c44fbb5488a82a24b3d71c4fe19924c2dc97df0e /fs/xfs/libxfs/xfs_bmap.c | |
parent | 465e2def7cb45864da1f82afb973a6acd1046ed8 (diff) | |
parent | 3443a3bca54588f43286b725d8648d33a38c86f1 (diff) |
Merge branch 'xfs-buf-type-fixes' into for-next
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 63a5bb9113ee..61ec015dca16 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c @@ -973,7 +973,11 @@ xfs_bmap_local_to_extents( *firstblock = args.fsbno; bp = xfs_btree_get_bufl(args.mp, tp, args.fsbno, 0); - /* initialise the block and copy the data */ + /* + * Initialise the block and copy the data + * + * Note: init_fn must set the buffer log item type correctly! + */ init_fn(tp, bp, ip, ifp); /* account for the change in fork size and log everything */ |