projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: use the marco BTRFS_UPDATE_KERNEL where needed
[platform/upstream/btrfs-progs.git]
/
utils.c
diff --git
a/utils.c
b/utils.c
index
69ae21f
..
a7441c1
100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-961,7
+961,7
@@
int check_mounted_where(int fd, const char *file, char *where, int size,
/* scan other devices */
if (is_btrfs && total_devs > 1) {
- if
((ret = btrfs_scan_for_fsid(0
)))
+ if
((ret = btrfs_scan_for_fsid(!BTRFS_UPDATE_KERNEL
)))
return ret;
}