projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4692cf5
)
Btrfs: make sure we're not using obsolete code in btrfs_get_extent
author
Jan Schmidt
<list.btrfs@jan-o-sch.net>
Thu, 1 Dec 2011 13:35:19 +0000
(14:35 +0100)
committer
Jan Schmidt
<list.btrfs@jan-o-sch.net>
Thu, 5 Jan 2012 14:11:55 +0000
(15:11 +0100)
There's code in btrfs_get_extent that should never be used. This patch turns
a WARN_ON(1) into a BUG(), hoping we can remove the transaction code from
btrfs_get_extent soon.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index
ea81938
..
603d740
100644
(file)
--- a/
fs/btrfs/inode.c
+++ b/
fs/btrfs/inode.c
@@
-5022,7
+5022,7
@@
again:
}
flush_dcache_page(page);
} else if (create && PageUptodate(page)) {
-
WARN_ON(1
);
+
BUG(
);
if (!trans) {
kunmap(page);
free_extent_map(em);