summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/context_mount.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 967ec336a..ffea65354 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -518,12 +518,7 @@ static int exec_helper(struct libmnt_context *cxt)
args[i++] = mnt_fs_get_srcpath(cxt->fs);/* 2 */
args[i++] = mnt_fs_get_target(cxt->fs); /* 3 */
- /*
- * TODO: remove the exception for "nfs", -s is documented
- * for years and should be usable everywhere.
- */
- if (mnt_context_is_sloppy(cxt) &&
- type && startswith(type, "nfs"))
+ if (mnt_context_is_sloppy(cxt))
args[i++] = "-s"; /* 4 */
if (mnt_context_is_fake(cxt))
args[i++] = "-f"; /* 5 */