projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2eb35a8
)
common/config: Allow environment defined btrfs mkfs options
author
Goldwyn Rodrigues
<rgoldwyn@suse.de>
Thu, 22 Oct 2020 18:49:24 +0000
(13:49 -0500)
committer
Eryu Guan
<guaneryu@gmail.com>
Sun, 25 Oct 2020 05:57:53 +0000
(13:57 +0800)
btrfs does not have options of defining mkfs options via the
environment. Use BTRFS_MKFS_OPTIONS environment variable to set
MKFS_OPTIONS for btrfs.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/config
patch
|
blob
|
history
diff --git
a/common/config
b/common/config
index 285b7d1fae3292df96aad731bcadf01152d83881..d83dfb289037df5a2c1404910e9612c7864e83a4 100644
(file)
--- a/
common/config
+++ b/
common/config
@@
-410,6
+410,9
@@
_mkfs_opts()
f2fs)
export MKFS_OPTIONS="$F2FS_MKFS_OPTIONS"
;;
+ btrfs)
+ export MKFS_OPTIONS="$BTRFS_MKFS_OPTIONS"
+ ;;
*)
;;
esac