diff options
-rw-r--r-- | mdk-stage1/NEWS | 2 | ||||
-rw-r--r-- | mdk-stage1/mount.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index e8fae6eaf..d14c23cbd 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,5 @@ +- use 'nolock' option for NFS + 2.58 - fix 'disk' method after kernel-5.15 breakage diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c index eb52780fa..14b2b2fc2 100644 --- a/mdk-stage1/mount.c +++ b/mdk-stage1/mount.c @@ -91,6 +91,8 @@ int my_mount(char *dev, char *location, char *fs, int force_rw) } #ifndef DISABLE_MEDIAS + if (!strcmp(fs, "nfs")) + opts = "nolock"; if (!strcmp(fs, "vfat")) opts = "check=relaxed"; #endif |