NFS: a couple off by ones
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 Dec 2014 23:52:26 +0000 (02:52 +0300)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 31 Jan 2015 01:43:30 +0000 (20:43 -0500)
commitc7c545d4a34872f4a3d710e22f21fb61f7258706
tree4722f62ab165f67b6637be5783b034a5bda20729
parent3a7ed3fff3bb22828f7d7ba6b75c7d22ee54df38
NFS: a couple off by ones

These tests are off by one because if len == sizeof(nfs_export_path)
then we have truncated the name.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfsroot.c