]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Currently the "-s" option is ignored by the text-based mount interface. To
authorChuck Lever <chuck.lever@oracle.com>
Tue, 15 Jul 2008 16:17:19 +0000 (12:17 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 16:17:19 +0000 (12:17 -0400)
notify the kernel that sloppy mount option parsing is needed, add "sloppy"
to the string of mount options passed to the kernel.

The 2.6.23 - 2.6.26 kernels will fail the mount if "sloppy" is present, as
they won't recognize it.  To prevent them from ever seeing this option,
have the mount command check the kernel version before appending the option.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found