Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349347
b: refs/heads/master
c: d26978d
h: refs/heads/master
i:
  349345: 6bc721c
  349343: c4cf135
v: v3
  • Loading branch information
Brian Foster authored and Ben Myers committed Jan 28, 2013
1 parent 4f2e9da commit 90d02ea
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: 1bee12b8c44d825fb45cd6a13e76c185ed6888b8
refs/heads/master: d26978dd866dbb3b3a9690f3655a5e735055de89
6 changes: 3 additions & 3 deletions trunk/fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4680,9 +4680,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 @@ -4956,6 +4953,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 90d02ea

Please sign in to comment.