git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[sfrench/cifs-2.6.git]
/
fs
/
btrfs
/
root-tree.c
diff --git
a/fs/btrfs/root-tree.c
b/fs/btrfs/root-tree.c
index 9fb9896610e0c43fb5c7b827ba7590c139c736ea..95bcc3cce78f80e4096d470d97d41f7b6df89329 100644
(file)
--- a/
fs/btrfs/root-tree.c
+++ b/
fs/btrfs/root-tree.c
@@
-228,7
+228,7
@@
int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info)
int ret;
bool can_recover = true;
- if (
fs_info->sb->s_flags & MS_RDONLY
)
+ if (
sb_rdonly(fs_info->sb)
)
can_recover = false;
path = btrfs_alloc_path();