NFS: Fix the ftruncate() credential problem
commit659bfcd6dd88919a5ad453f62afbeffcb3106847
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 10 Jun 2008 23:39:41 +0000 (10 19:39 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:14 +0000 (9 12:09 -0400)
treee3996d809e9ae4860a8adac71474e6ea8850c3b5
parenta486aeda9b2b0d944aecce7871b3186379b898de
NFS: Fix the ftruncate() credential problem

ftruncate() access checking is supposed to be performed at open() time,
just like reads and writes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c