]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Only pass the delegation to setattr if we're sending a truncate
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Apr 2018 15:15:30 +0000 (11:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:02:16 +0000 (15:02 -0400)
commitf5da94fcee15209057ec7c9711e9117a0ec12528
tree70231a5bed710941ba15d27218bd5765085cbda4
parent7dd9e43672db539f234c186837f0d1d773bad8ed
NFSv4: Only pass the delegation to setattr if we're sending a truncate

Even then it isn't really necessary. The reason why we may not want to
pass in a stateid in other cases is that we cannot use the delegation
credential.

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