diff options
author | Vinayakswami Hariharmath <vharihar@redhat.com> | 2020-06-03 18:58:56 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-08-19 17:55:13 +0000 |
commit | 96e7ff7396a8e18ca69d5198be0a8d29bcc37129 (patch) | |
tree | 17d1e4348c071f443f6cdcee46bf061af8fb8ac6 /tests/basic/quota-anon-fd-nfs.t | |
parent | 6b10b33f8a9bce054fec980583cc597f5a438bb5 (diff) |
features/shard: Use fd lookup post file open
Issue:
When a process has the open fd and the same file is
unlinked in middle of the operations, then file based
lookup fails with ENOENT or stale file
Solution:
When the file already open and fd is available, use fstat
to get the file attributes
Change-Id: I0e83aee9f11b616dcfe13769ebfcda6742e4e0f4
Fixes: #1281
Signed-off-by: Vinayakswami Hariharmath <vharihar@redhat.com>
(cherry picked from commit 71dd19f710b81136f318b3a95ae430971198ee70)
Diffstat (limited to 'tests/basic/quota-anon-fd-nfs.t')
0 files changed, 0 insertions, 0 deletions