diff options
author | Jakob Unterwurzacher | 2016-05-30 09:29:30 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-05-30 09:36:06 +0200 |
commit | 5dd9576a11bb166e5b3cad70047a46038daf32d6 (patch) | |
tree | e280ac6a8f0f55dcb0f8500f5bd45b5e6ce71730 /tests/fsck/broken_fs_v1.4/yrwcjj2qoC4IYvhw9sbfRg/uC2yqKyQUXSJF-YF1Ya5nQ | |
parent | 5e9953ec27979675160f45a5824ac727f5c5cd50 (diff) |
fusefrontend: replace unreliable "fd < 0" check
... with the "released" boolean.
For some reason, the "f.fd.Fd() < 0" check did not work reliably,
leading to nil pointer panics on the following wlock.lock().
The problem was discovered during fsstress testing and is unlikely
to happen in normal operations.
With this change, we passed 1700+ fsstress iterations.
Diffstat (limited to 'tests/fsck/broken_fs_v1.4/yrwcjj2qoC4IYvhw9sbfRg/uC2yqKyQUXSJF-YF1Ya5nQ')
0 files changed, 0 insertions, 0 deletions