From: Trond Myklebust Date: Fri, 28 Sep 2007 16:27:41 +0000 (-0400) Subject: NFS: Fix an Oops in encode_lookup() X-Git-Tag: v2.6.23-rc9~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54af3bb543c071769141387a42deaaab5074da55;p=pandora-kernel.git NFS: Fix an Oops in encode_lookup() It doesn't look as if the NFS file name limit is being initialised correctly in the struct nfs_server. Make sure that we limit whatever is being set in nfs_probe_fsinfo() and nfs_init_server(). Also ensure that readdirplus and nfs4_path_walk respect our file name limits. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed