diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-04 18:48:16 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-05 16:55:25 (GMT) |
commit | 0418dae1056d6091e9527b7158a3763f7aa92353 (patch) | |
tree | 5837e26fff816e8a444e53117a401367b1559187 /fs/drop_caches.c | |
parent | 869a9d375dca601dde1dee1344f3d1d665505f19 (diff) | |
download | linux-0418dae1056d6091e9527b7158a3763f7aa92353.tar.xz |
NFSv4: Fail the truncate() if the lock/open stateid is invalid
If the open stateid could not be recovered, or the file locks were lost,
then we should fail the truncate() operation altogether.
Reported-by: Andy Adamson <andros@netapp.com>
Link: http://lkml.kernel.org/r/1393954269-3974-1-git-send-email-andros@netapp.com
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions