NFSv4.1 pnfs_layoutcommit_inode fixes
authorAndy Adamson <andros@netapp.com>
Sat, 12 Mar 2011 07:58:09 +0000 (02:58 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Mar 2011 19:49:48 +0000 (15:49 -0400)
commitde4b15c7e9fe9fdd1eb6333be0a08c822db1ca0e
tree5851c3352d20c6433677da072d2fdbc63d303b8e
parentcccb4d063b263ac0713ab27d98460fda3b4f83ff
NFSv4.1 pnfs_layoutcommit_inode fixes

Test NFS_INO_LAYOUTCOMMIT before kzalloc
Mark inode dirty to retry LAYOUTCOMMIT on kzalloc failure.
Add comments.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c