NFS: Add helper functions for allocating filehandles and fattr structs
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 16 Apr 2010 20:22:45 +0000 (16:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:21 +0000 (15:09 -0400)
commit2d36bfde8565b315e624302d12da5a7c9d195522
tree5760ff58853027df0343c6bab0530025cd7a6fa1
parentfc54a0c65fc8cae6b0355512f0b619c1515e7d7f
NFS: Add helper functions for allocating filehandles and fattr structs

NFS Filehandles and struct fattr are really too large to be allocated on
the stack. This patch adds in a couple of helper functions to allocate them
dynamically instead.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
include/linux/nfs_fs.h