]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: missing nfs_fattr_init in nfs3_proc_getacl and nfs3_proc_setacls (resend #2)
authorJeff Layton <jlayton@redhat.com>
Mon, 18 Aug 2008 13:17:58 +0000 (09:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 22:16:22 +0000 (18:16 -0400)
commitf25b874d39461935b1b5bbffaa622e735e79d49e
tree6b2b31a20591c538c0e35e15cd53ceb2efee4524
parentf200c11c257b8db5c49dfc0b7f84bceae3109779
NFS: missing nfs_fattr_init in nfs3_proc_getacl and nfs3_proc_setacls (resend #2)

The fattrs used in the NFSv3 getacl/setacl calls are not being properly
initialized. This occasionally causes nfs_update_inode to fall into
NFSv4 specific codepaths when handling post-op attrs from these calls.

Thanks to Cai Qian for noticing the spurious NFSv4 messages in debug
output from a v3 mount...

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