Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23122
b: refs/heads/master
c: f020b67
h: refs/heads/master
v: v3
  • Loading branch information
Mandy Kirkconnell authored and Nathan Scott committed Mar 14, 2006
1 parent 03f6937 commit 949a4cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a50cd2692617cfb796140a62c0082bce0a7306c7
refs/heads/master: f020b67f3c0c071ed5b2281bfa717125c8a39ad6
4 changes: 2 additions & 2 deletions trunk/fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3414,7 +3414,8 @@ xfs_bmap_local_to_extents(

args.tp = tp;
args.mp = ip->i_mount;
ASSERT(ifp->if_flags & XFS_IFINLINE);
ASSERT((ifp->if_flags &
(XFS_IFINLINE|XFS_IFEXTENTS|XFS_IFEXTIREC)) == XFS_IFINLINE);
/*
* Allocate a block. We know we need only one, since the
* file currently fits in an inode.
Expand Down Expand Up @@ -3445,7 +3446,6 @@ xfs_bmap_local_to_extents(
xfs_bmap_forkoff_reset(args.mp, ip, whichfork);
xfs_idata_realloc(ip, -ifp->if_bytes, whichfork);
xfs_iext_add(ifp, 0, 1);
ASSERT((ifp->if_flags & (XFS_IFEXTENTS|XFS_IFEXTIREC)) == XFS_IFEXTENTS);
ep = xfs_iext_get_ext(ifp, 0);
xfs_bmbt_set_allf(ep, 0, args.fsbno, 1, XFS_EXT_NORM);
xfs_bmap_trace_post_update(fname, "new", ip, 0, whichfork);
Expand Down

0 comments on commit 949a4cf

Please sign in to comment.