]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: handle lack of clientaddr in option string
authorJeff Layton <jlayton@redhat.com>
Wed, 18 Jul 2007 15:28:43 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Jul 2007 19:21:40 +0000 (15:21 -0400)
commit210d6d6e85896e0626dc3e615ee663e74a16f2df
tree07bfeee89a7df2377cdb2b7d6770d66edd8bb308
parent4ac5b0cee108241a2e9b7816e33616fc3199d014
NFSv4: handle lack of clientaddr in option string

If a NFSv4 mount is attempted  with string based options, and the
option string doesn't contain a clientaddr= option, the kernel will
currently oops. Check for this situation and return a proper error.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c