Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352920
b: refs/heads/master
c: 9e96fe6
h: refs/heads/master
v: v3
  • Loading branch information
Brian Foster authored and Ben Myers committed Jan 17, 2013
1 parent 3e9b0e8 commit 7f868a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 667a9291c5b38318a47a2df730bc064e5d37d2a8
refs/heads/master: 9e96fe6df44425b69ed89f6ac20352cec1f127d7
6 changes: 3 additions & 3 deletions trunk/fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4676,9 +4676,6 @@ __xfs_bmapi_allocate(
return error;
}

if (bma->flags & XFS_BMAPI_STACK_SWITCH)
bma->stack_switch = 1;

error = xfs_bmap_alloc(bma);
if (error)
return error;
Expand Down Expand Up @@ -4952,6 +4949,9 @@ xfs_bmapi_write(
bma.flist = flist;
bma.firstblock = firstblock;

if (flags & XFS_BMAPI_STACK_SWITCH)
bma.stack_switch = 1;

while (bno < end && n < *nmap) {
inhole = eof || bma.got.br_startoff > bno;
wasdelay = !inhole && isnullstartblock(bma.got.br_startblock);
Expand Down

0 comments on commit 7f868a3

Please sign in to comment.