NFS: nfs_inode_return_delegation() should always flush dirty data
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 6 May 2012 23:34:17 +0000 (19:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 May 2012 16:53:21 +0000 (12:53 -0400)
commitc57d1bc5e043dbb5ba82ded07003d71a8033d899
treed56f455d3b2fbe8d7b52ac047f299bba67bef138
parent14546c337588370dced50dcaf43398939be9829e
NFS: nfs_inode_return_delegation() should always flush dirty data

The assumption is that if you are in a situation where you need to
return the delegation, then you should probably stop caching the
data anyway.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h