]> git.hungrycats.org Git - linux/commit
[PATCH] Fix NFS long symlinks checks
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Thu, 20 May 2004 05:02:07 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 20 May 2004 05:02:07 +0000 (22:02 -0700)
commit3cab1c951fbb09d5787d2492ca1b3ec8e66eab95
tree00c3d1b001ed445e061143447d24f6f667819163
parente6863f8bdca23fc1a3c5f9b7ec442585d72511a0
[PATCH] Fix NFS long symlinks checks

The NFS readlink() methods all take a buffer length argument.  Use that
instead of assuming PAGE_SIZE...

We need to return ENAMETOOLONG rather than EIO.
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c