[PATCH] common/btrfs: source module file

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



btrfs/249 fails with:

QA output created by 249
./common/btrfs: line 425: _require_loadable_fs_module: command not found
./common/btrfs: line 432: _reload_fs_module: command not found
ERROR: not a btrfs filesystem: /media/scratch

Fix this by sourcing common/module in the btrfs common file.

Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---
 common/btrfs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/btrfs b/common/btrfs
index 5d938c19..4dc4f75d 100644
--- a/common/btrfs
+++ b/common/btrfs
@@ -2,6 +2,8 @@
 # Common btrfs specific functions
 #
 
+source common/module
+
 _btrfs_get_subvolid()
 {
 	mnt=$1
-- 
2.33.0




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux