NFSv4: Return any delegations before sillyrenaming the file
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Nov 2005 20:35:02 +0000 (15:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Nov 2005 20:35:02 +0000 (15:35 -0500)
commit34ea818846e6cccdd6e05354ab8c8a6d7e34657a
treed00d3d61c03454856c9047afaab3ba60a2e84f32
parent2c56617d76fa7b2a709d58abd7ed68889cc88b90
NFSv4: Return any delegations before sillyrenaming the file

 I missed this one... Any form of rename will result in a delegation
 recall, so it is more efficient to return the one we hold before
 trying the rename.

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