projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/block_dev.c: fix new kernel-doc warning
[cascardo/linux.git]
/
fs
/
btrfs
/
extent_map.c
diff --git
a/fs/btrfs/extent_map.c
b/fs/btrfs/extent_map.c
index
b0e1fce
..
2b6c12e
100644
(file)
--- a/
fs/btrfs/extent_map.c
+++ b/
fs/btrfs/extent_map.c
@@
-51,8
+51,8
@@
struct extent_map *alloc_extent_map(gfp_t mask)
{
struct extent_map *em;
em = kmem_cache_alloc(extent_map_cache, mask);
- if (!em
|| IS_ERR(em)
)
- return
em
;
+ if (!em)
+ return
NULL
;
em->in_tree = 0;
em->flags = 0;
em->compress_type = BTRFS_COMPRESS_NONE;