NFSv4: Leases are renewed in sequence_done when we have sessions
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 5 Jul 2015 18:50:46 +0000 (14:50 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 5 Jul 2015 19:50:19 +0000 (15:50 -0400)
commitbe824167e33a8b747423c90f72479deb03255d54
treece3c03c1a1c413cbff71f0a58c187940a6e4eaf3
parentb15c7cdde4991be5058f442c6d08d404d56f662c
NFSv4: Leases are renewed in sequence_done when we have sessions

Ensure that the calls to renew_lease() in open_done() etc. only apply
to session-less versions of NFSv4.x (i.e. NFSv4.0).

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c