All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] common/rc: add global mounted option for _scratch_remount
@ 2019-03-31 12:31 XiaoLi Feng
  2019-04-01 11:15 ` Eryu Guan
  2019-04-01 15:29 ` Steve French
  0 siblings, 2 replies; 7+ messages in thread
From: XiaoLi Feng @ 2019-03-31 12:31 UTC (permalink / raw)
  To: fstests; +Cc: smfrench, Xiaoli Feng

From: Xiaoli Feng <xifeng@redhat.com>

When call _scratch_remount for cifs , it always requires to input
password. This will make generic/306 generic/452 failed because
cifs remount failed.
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 1c42515f..ea1eaf6a 100644
--- a/common/rc
+++ b/common/rc
@@ -357,7 +357,7 @@ _scratch_remount()
     local opts="$1"
 
     if test -n "$opts"; then
-	mount -o "remount,$opts" $SCRATCH_MNT
+	mount $MOUNT_OPTIONS -o "remount,$opts" $SCRATCH_MNT
     fi
 }
 
-- 
2.18.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-06 12:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-31 12:31 [PATCH v2] common/rc: add global mounted option for _scratch_remount XiaoLi Feng
2019-04-01 11:15 ` Eryu Guan
2019-04-02  8:58   ` Xiaoli Feng
2019-04-06 12:16     ` Eryu Guan
2019-04-01 15:29 ` Steve French
2019-04-02  0:33   ` Steve French
2019-04-02  8:29     ` Xiaoli Feng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.