Lines Matching refs:whichfork

53 	int		whichfork)	/* data or attr fork */  in xfs_bmap_compute_maxlevels()  argument
76 whichfork); in xfs_bmap_compute_maxlevels()
77 if (whichfork == XFS_DATA_FORK) in xfs_bmap_compute_maxlevels()
92 mp->m_bm_maxlevels[whichfork] = level; in xfs_bmap_compute_maxlevels()
93 ASSERT(mp->m_bm_maxlevels[whichfork] <= xfs_bmbt_maxlevels_ondisk()); in xfs_bmap_compute_maxlevels()
129 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree() argument
131 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_needs_btree()
133 return whichfork != XFS_COW_FORK && in xfs_bmap_needs_btree()
135 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
141 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents() argument
143 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_wants_extents()
145 return whichfork != XFS_COW_FORK && in xfs_bmap_wants_extents()
147 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
216 int whichfork) in xfs_bmap_forkoff_reset() argument
218 if (whichfork == XFS_ATTR_FORK && in xfs_bmap_forkoff_reset()
319 int whichfork) /* data or attr fork */ in xfs_bmap_check_leaf_extents() argument
322 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_check_leaf_extents()
518 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
539 int whichfork) /* data or attr fork */ in xfs_bmap_btree_to_extents() argument
541 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_btree_to_extents()
552 if (!xfs_bmap_wants_extents(ip, whichfork)) in xfs_bmap_btree_to_extents()
556 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_btree_to_extents()
575 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xfs_bmap_btree_to_extents()
582 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_btree_to_extents()
585 *logflagsp |= XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_btree_to_extents()
600 int whichfork) /* data or attr fork */ in xfs_bmap_extents_to_btree() argument
618 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_extents_to_btree()
619 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_extents_to_btree()
626 xfs_iroot_realloc(ip, 1, whichfork); in xfs_bmap_extents_to_btree()
638 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_extents_to_btree()
647 xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork); in xfs_bmap_extents_to_btree()
722 *logflagsp = XFS_ILOG_CORE | xfs_ilog_fbroot(whichfork); in xfs_bmap_extents_to_btree()
728 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_extents_to_btree()
746 int whichfork) in xfs_bmap_local_to_extents_empty() argument
748 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_local_to_extents_empty()
750 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_local_to_extents_empty()
755 xfs_bmap_forkoff_reset(ip, whichfork); in xfs_bmap_local_to_extents_empty()
769 int whichfork, in xfs_bmap_local_to_extents() argument
787 ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK)); in xfs_bmap_local_to_extents()
788 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_local_to_extents()
792 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
802 xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0); in xfs_bmap_local_to_extents()
841 xfs_idata_realloc(ip, -ifp->if_bytes, whichfork); in xfs_bmap_local_to_extents()
842 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
859 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_local_to_extents()
962 dargs.whichfork = XFS_DATA_FORK; in xfs_bmap_add_attrfork_local()
1117 int whichfork = cur->bc_ino.whichfork; in xfs_iread_bmbt_block() local
1118 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_iread_bmbt_block()
1139 fa = xfs_bmap_validate_extent(ip, whichfork, &new); in xfs_iread_bmbt_block()
1147 xfs_bmap_fork_to_state(whichfork)); in xfs_iread_bmbt_block()
1149 xfs_bmap_fork_to_state(whichfork), _THIS_IP_); in xfs_iread_bmbt_block()
1163 int whichfork) in xfs_iread_extents() argument
1166 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_iread_extents()
1178 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_iread_extents()
1208 int whichfork) /* data or attr fork */ in xfs_bmap_first_unused() argument
1210 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_first_unused()
1224 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_first_unused()
1255 int whichfork) /* data or attr fork */ in xfs_bmap_last_before() argument
1257 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_last_before()
1274 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_before()
1287 int whichfork, in xfs_bmap_last_extent() argument
1291 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_last_extent()
1295 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_extent()
1319 int whichfork) in xfs_bmap_isaeof() argument
1326 error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec, in xfs_bmap_isaeof()
1355 int whichfork) in xfs_bmap_last_offset() argument
1357 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_last_offset()
1370 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1388 int whichfork) in xfs_bmap_add_extent_delay_real() argument
1391 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1399 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_delay_real()
1406 ASSERT(whichfork != XFS_ATTR_FORK); in xfs_bmap_add_extent_delay_real()
1689 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1691 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1776 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1778 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1862 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1864 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1889 xfs_rmap_map_extent(bma->tp, bma->ip, whichfork, new); in xfs_bmap_add_extent_delay_real()
1892 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1898 whichfork); in xfs_bmap_add_extent_delay_real()
1919 xfs_bmap_check_leaf_extents(bma->cur, bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1921 if (whichfork != XFS_COW_FORK) in xfs_bmap_add_extent_delay_real()
1936 int whichfork, in xfs_bmap_add_extent_unwritten_real() argument
1950 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_unwritten_real()
1957 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2435 xfs_rmap_convert_extent(mp, tp, ip, whichfork, new); in xfs_bmap_add_extent_unwritten_real()
2438 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_unwritten_real()
2443 &tmp_logflags, whichfork); in xfs_bmap_add_extent_unwritten_real()
2455 xfs_bmap_check_leaf_extents(*curp, ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2470 int whichfork, in xfs_bmap_add_extent_hole_delay() argument
2479 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_delay()
2482 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_add_extent_hole_delay()
2611 int whichfork, in xfs_bmap_add_extent_hole_real() argument
2618 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_add_extent_hole_real()
2626 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_real()
2693 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2736 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2766 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2792 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2815 xfs_rmap_map_extent(tp, ip, whichfork, new); in xfs_bmap_add_extent_hole_real()
2818 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_hole_real()
2823 &tmp_logflags, whichfork); in xfs_bmap_add_extent_hole_real()
2834 xfs_bmap_check_leaf_extents(cur, ip, whichfork); in xfs_bmap_add_extent_hole_real()
3868 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_read() local
3869 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmapi_read()
3894 error = xfs_iread_extents(NULL, ip, whichfork); in xfs_bmapi_read()
3953 int whichfork, in xfs_bmapi_reserve_delalloc() argument
3962 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmapi_reserve_delalloc()
3979 if (whichfork == XFS_COW_FORK) { in xfs_bmapi_reserve_delalloc()
4024 xfs_bmap_add_extent_hole_delay(ip, whichfork, icur, got); in xfs_bmapi_reserve_delalloc()
4031 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4033 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
4051 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmap_alloc_userdata() local
4061 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_alloc_userdata()
4067 error = xfs_bmap_isaeof(bma, whichfork); in xfs_bmap_alloc_userdata()
4088 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmapi_allocate() local
4089 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); in xfs_bmapi_allocate()
4135 bma->cur = xfs_bmbt_init_cursor(mp, bma->tp, bma->ip, whichfork); in xfs_bmapi_allocate()
4155 error = xfs_bmap_add_extent_delay_real(bma, whichfork); in xfs_bmapi_allocate()
4158 whichfork, &bma->icur, &bma->cur, &bma->got, in xfs_bmapi_allocate()
4187 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_convert_unwritten() local
4188 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4209 bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4225 error = xfs_bmap_add_extent_unwritten_real(bma->tp, bma->ip, whichfork, in xfs_bmapi_convert_unwritten()
4238 if (whichfork != XFS_COW_FORK) in xfs_bmapi_convert_unwritten()
4283 int whichfork, in xfs_bmapi_finish() argument
4286 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); in xfs_bmapi_finish()
4288 if ((bma->logflags & xfs_ilog_fext(whichfork)) && in xfs_bmapi_finish()
4290 bma->logflags &= ~xfs_ilog_fext(whichfork); in xfs_bmapi_finish()
4291 else if ((bma->logflags & xfs_ilog_fbroot(whichfork)) && in xfs_bmapi_finish()
4293 bma->logflags &= ~xfs_ilog_fbroot(whichfork); in xfs_bmapi_finish()
4324 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_write() local
4325 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmapi_write()
4376 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_write()
4384 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_write()
4442 if (whichfork == XFS_COW_FORK) in xfs_bmapi_write()
4477 whichfork); in xfs_bmapi_write()
4482 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork)); in xfs_bmapi_write()
4483 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_write()
4488 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_write()
4501 int whichfork, in xfs_bmapi_convert_delalloc() argument
4506 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmapi_convert_delalloc()
4514 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4529 error = xfs_iext_count_may_overflow(ip, whichfork, in xfs_bmapi_convert_delalloc()
4544 WARN_ON_ONCE(whichfork != XFS_COW_FORK); in xfs_bmapi_convert_delalloc()
4565 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_convert_delalloc()
4581 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4605 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4609 whichfork); in xfs_bmapi_convert_delalloc()
4613 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_convert_delalloc()
4619 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_convert_delalloc()
4640 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_remap() local
4643 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmapi_remap()
4660 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_remap()
4674 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmapi_remap()
4686 error = xfs_bmap_add_extent_hole_real(tp, ip, whichfork, &icur, in xfs_bmapi_remap()
4691 error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags, whichfork); in xfs_bmapi_remap()
4794 int whichfork, in xfs_bmap_del_extent_delay() argument
4800 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_del_extent_delay()
4805 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_delay()
4811 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in xfs_bmap_del_extent_delay()
5002 int whichfork, /* data or attr fork */ in xfs_bmap_del_extent_real() argument
5019 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_real()
5025 ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_del_extent_real()
5046 ifp->if_nextents >= XFS_IFORK_MAXEXT(ip, whichfork) && in xfs_bmap_del_extent_real()
5051 if (whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip)) { in xfs_bmap_del_extent_real()
5107 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5126 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5140 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5212 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5221 xfs_rmap_unmap_extent(tp, ip, whichfork, del); in xfs_bmap_del_extent_real()
5227 if (xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_del_extent_real()
5280 int whichfork; /* data or attribute fork */ in __xfs_bunmapi() local
5289 whichfork = xfs_bmapi_whichfork(flags); in __xfs_bunmapi()
5290 ASSERT(whichfork != XFS_COW_FORK); in __xfs_bunmapi()
5291 ifp = xfs_ifork_ptr(ip, whichfork); in __xfs_bunmapi()
5301 error = xfs_iread_extents(tp, ip, whichfork); in __xfs_bunmapi()
5310 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in __xfs_bunmapi()
5322 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in __xfs_bunmapi()
5418 whichfork, &icur, &cur, &del, in __xfs_bunmapi()
5477 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5486 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5496 error = xfs_bmap_del_extent_delay(ip, whichfork, &icur, in __xfs_bunmapi()
5500 &del, &tmp_logflags, whichfork, in __xfs_bunmapi()
5531 if (xfs_bmap_needs_btree(ip, whichfork)) { in __xfs_bunmapi()
5534 &tmp_logflags, whichfork); in __xfs_bunmapi()
5538 whichfork); in __xfs_bunmapi()
5546 if ((logflags & xfs_ilog_fext(whichfork)) && in __xfs_bunmapi()
5548 logflags &= ~xfs_ilog_fext(whichfork); in __xfs_bunmapi()
5549 else if ((logflags & xfs_ilog_fbroot(whichfork)) && in __xfs_bunmapi()
5551 logflags &= ~xfs_ilog_fbroot(whichfork); in __xfs_bunmapi()
5624 int whichfork, in xfs_bmse_merge() argument
5632 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmse_merge()
5683 error = xfs_bmap_btree_to_extents(tp, ip, cur, logflags, whichfork); in xfs_bmse_merge()
5690 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmse_merge()
5694 xfs_rmap_unmap_extent(tp, ip, whichfork, got); in xfs_bmse_merge()
5697 xfs_rmap_map_extent(tp, ip, whichfork, &new); in xfs_bmse_merge()
5705 int whichfork, in xfs_bmap_shift_update_extent() argument
5734 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmap_shift_update_extent()
5738 xfs_rmap_unmap_extent(tp, ip, whichfork, &prev); in xfs_bmap_shift_update_extent()
5739 xfs_rmap_map_extent(tp, ip, whichfork, got); in xfs_bmap_shift_update_extent()
5751 int whichfork = XFS_DATA_FORK; in xfs_bmap_collapse_extents() local
5753 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_collapse_extents()
5771 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_collapse_extents()
5776 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_collapse_extents()
5797 error = xfs_bmse_merge(tp, ip, whichfork, in xfs_bmap_collapse_extents()
5811 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_collapse_extents()
5866 int whichfork = XFS_DATA_FORK; in xfs_bmap_insert_extents() local
5868 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_insert_extents()
5886 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_insert_extents()
5891 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_insert_extents()
5935 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_insert_extents()
5967 int whichfork = XFS_DATA_FORK; in xfs_bmap_split_extent() local
5968 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_split_extent()
5988 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_split_extent()
6006 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_split_extent()
6018 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), &icur, in xfs_bmap_split_extent()
6054 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_split_extent()
6059 &tmp_logflags, whichfork); in xfs_bmap_split_extent()
6089 int whichfork, in __xfs_bmap_add() argument
6098 ip->i_ino, whichfork, in __xfs_bmap_add()
6107 bi->bi_whichfork = whichfork; in __xfs_bmap_add()
6149 int whichfork, in xfs_bmap_finish_one() argument
6162 ip->i_ino, whichfork, startoff, *blockcount, state); in xfs_bmap_finish_one()
6164 if (WARN_ON_ONCE(whichfork != XFS_DATA_FORK)) in xfs_bmap_finish_one()
6193 int whichfork, in xfs_bmap_validate_extent() argument
6201 if (XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_validate_extent()
6210 if (irec->br_state != XFS_EXT_NORM && whichfork != XFS_DATA_FORK) in xfs_bmap_validate_extent()