NFSv4.1: new flag for state renewal check
authorAndy Adamson <andros@netapp.com>
Tue, 1 Mar 2011 01:34:10 +0000 (01:34 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:41 +0000 (15:38 -0500)
commitd3b4c9d76738df49a7db7682c2518a0ef9f7391d
tree69ab2ccad799bee8a00ad901b57739be44747fcd
parent89d1ea65798953b251e399b17f32d31033889ae0
NFSv4.1: new flag for state renewal check

Data servers not sharing a session with the mount MDS always have an empty
cl_superblocks list.
Replace the cl_superblocks empty list check to see if it is time to shut down
renewd with the NFS_CS_STOP_RENEW bit which is not set by such a data server.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/nfs4renewd.c
include/linux/nfs_fs_sb.h