projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull Kconfig into release branch
[powerpc.git]
/
fs
/
xfs
/
xfs_alloc.c
diff --git
a/fs/xfs/xfs_alloc.c
b/fs/xfs/xfs_alloc.c
index
64ee07d
..
8558226
100644
(file)
--- a/
fs/xfs/xfs_alloc.c
+++ b/
fs/xfs/xfs_alloc.c
@@
-1942,8
+1942,10
@@
xfs_alloc_fix_freelist(
/*
* Allocate as many blocks as possible at once.
*/
/*
* Allocate as many blocks as possible at once.
*/
- if ((error = xfs_alloc_ag_vextent(&targs)))
+ if ((error = xfs_alloc_ag_vextent(&targs))) {
+ xfs_trans_brelse(tp, agflbp);
return error;
return error;
+ }
/*
* Stop if we run out. Won't happen if callers are obeying
* the restrictions correctly. Can happen for free calls
/*
* Stop if we run out. Won't happen if callers are obeying
* the restrictions correctly. Can happen for free calls
@@
-1960,6
+1962,7
@@
xfs_alloc_fix_freelist(
return error;
}
}
return error;
}
}
+ xfs_trans_brelse(tp, agflbp);
args->agbp = agbp;
return 0;
}
args->agbp = agbp;
return 0;
}