git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: pcm: potential uninitialized return values
[pandora-kernel.git]
/
fs
/
xfs
/
xfs_alloc.c
diff --git
a/fs/xfs/xfs_alloc.c
b/fs/xfs/xfs_alloc.c
index
ce84ffd
..
896f1d9
100644
(file)
--- a/
fs/xfs/xfs_alloc.c
+++ b/
fs/xfs/xfs_alloc.c
@@
-1075,12
+1075,13
@@
restart:
* If we couldn't get anything, give up.
*/
if (bno_cur_lt == NULL && bno_cur_gt == NULL) {
* If we couldn't get anything, give up.
*/
if (bno_cur_lt == NULL && bno_cur_gt == NULL) {
+ xfs_btree_del_cursor(cnt_cur, XFS_BTREE_NOERROR);
+
if (!forced++) {
trace_xfs_alloc_near_busy(args);
xfs_log_force(args->mp, XFS_LOG_SYNC);
goto restart;
}
if (!forced++) {
trace_xfs_alloc_near_busy(args);
xfs_log_force(args->mp, XFS_LOG_SYNC);
goto restart;
}
-
trace_xfs_alloc_size_neither(args);
args->agbno = NULLAGBLOCK;
return 0;
trace_xfs_alloc_size_neither(args);
args->agbno = NULLAGBLOCK;
return 0;