diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 | ||||
-rw-r--r-- | fs/btrfs/inode.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 0ff16d3331da..4b0ea0b80c23 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -848,8 +848,6 @@ struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, | |||
848 | 848 | ||
849 | if (ret == 0) | 849 | if (ret == 0) |
850 | set_bit(EXTENT_BUFFER_UPTODATE, &buf->bflags); | 850 | set_bit(EXTENT_BUFFER_UPTODATE, &buf->bflags); |
851 | else | ||
852 | WARN_ON(1); | ||
853 | return buf; | 851 | return buf; |
854 | 852 | ||
855 | } | 853 | } |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 22450bd972df..1c8b0190d031 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -4296,7 +4296,6 @@ out: | |||
4296 | } | 4296 | } |
4297 | if (err) { | 4297 | if (err) { |
4298 | free_extent_map(em); | 4298 | free_extent_map(em); |
4299 | WARN_ON(1); | ||
4300 | return ERR_PTR(err); | 4299 | return ERR_PTR(err); |
4301 | } | 4300 | } |
4302 | return em; | 4301 | return em; |