mount: ignore unknown mount options when remounting NFS mounts
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 21 Feb 2011 16:52:13 +0000 (17:52 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 26 Feb 2011 18:02:36 +0000 (19:02 +0100)
commit301fe50ca2576291a427de46ca6ed64d4949713e
treea3f082ec6ae5291d38487dc6a76e681ef7a892c8
parent945fd173e9888185d68fecfb060fdfff98900ac4
mount: ignore unknown mount options when remounting NFS mounts

Don't fail on unknown nfs mount options. The kernel automatically
adds a few mount options that we don't currently handle, like:

sec=null|sys|krb5..
mountaddr=<ip>
mountproto=tcp|udp
local_lock=none|all|flock|posix

Which causes a simple mount -o remount,rw <mountpoint> to fail.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c