]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Steinar Gunderson reports:
authorChuck Lever <chuck.lever@oracle.com>
Fri, 6 Jun 2008 19:02:18 +0000 (15:02 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 6 Jun 2008 19:02:18 +0000 (15:02 -0400)
"It seems retry= is now additive with the text-based mount interface. In
particular, "mount -o retry=0" still gives a two-minute timeout."

Correct the bug and make retry= option parsing more robust.  If parsing
the retry option fails, the option is ignored and a default timeout is
used.

Note that currently the kernel parser ignores the "retry=" option if the
value is a number.  If the value contains other characters, the kernel will
choke.  A subsequent patch to the kernel will allow any characters as the
value of the retry option (excepting of course ",").

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

No differences found