On Fri, 2013-07-12 at 12:31 -0400, Chuck Lever wrote: > Don't try to use a non-UID-0 user credential for lease management, > as that credential can change out from under us. The server will > block NFSv4 lease recovery with NFS4ERR_CLID_INUSE. > > Replace minor version-specific callouts with a single function. > > Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> > --- > fs/nfs/nfs4_fs.h | 4 +--- > fs/nfs/nfs4proc.c | 6 +---- > fs/nfs/nfs4session.c | 2 +- > fs/nfs/nfs4state.c | 55 ++++++-------------------------------------------- > 4 files changed, 10 insertions(+), 57 deletions(-) This won't apply to upstream kernels. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥