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
NFSv4.1: use pnfs_generic_pg_test directly by layout driver
[pandora-kernel.git]
/
fs
/
btrfs
/
inode-map.c
diff --git
a/fs/btrfs/inode-map.c
b/fs/btrfs/inode-map.c
index
c56eb59
..
c05a08f
100644
(file)
--- a/
fs/btrfs/inode-map.c
+++ b/
fs/btrfs/inode-map.c
@@
-30,7
+30,8
@@
int btrfs_find_highest_inode(struct btrfs_root *root, u64 *objectid)
int slot;
path = btrfs_alloc_path();
- BUG_ON(!path);
+ if (!path)
+ return -ENOMEM;
search_key.objectid = BTRFS_LAST_FREE_OBJECTID;
search_key.type = -1;