summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 2f934a0b2148..8da2f380d3c0 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3100,7 +3100,7 @@ retry_root_backup:
3100 3100
3101 if (!sb_rdonly(sb) && !btrfs_check_rw_degradable(fs_info, NULL)) { 3101 if (!sb_rdonly(sb) && !btrfs_check_rw_degradable(fs_info, NULL)) {
3102 btrfs_warn(fs_info, 3102 btrfs_warn(fs_info,
3103 "writeable mount is not allowed due to too many missing devices"); 3103 "writable mount is not allowed due to too many missing devices");
3104 goto fail_sysfs; 3104 goto fail_sysfs;
3105 } 3105 }
3106 3106
@@ -4077,7 +4077,7 @@ void btrfs_mark_buffer_dirty(struct extent_buffer *buf)
4077#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS 4077#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
4078 /* 4078 /*
4079 * This is a fast path so only do this check if we have sanity tests 4079 * This is a fast path so only do this check if we have sanity tests
4080 * enabled. Normal people shouldn't be using umapped buffers as dirty 4080 * enabled. Normal people shouldn't be using unmapped buffers as dirty
4081 * outside of the sanity tests. 4081 * outside of the sanity tests.
4082 */ 4082 */
4083 if (unlikely(test_bit(EXTENT_BUFFER_UNMAPPED, &buf->bflags))) 4083 if (unlikely(test_bit(EXTENT_BUFFER_UNMAPPED, &buf->bflags)))