diff options
| author | Andreas Gruenbacher <[email protected]> | 2024-11-19 11:15:26 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2024-11-19 12:05:41 +0000 |
| commit | ffd1cf0443a208b80e40100ed02892d2ec74c7e9 (patch) | |
| tree | 612ad531303644fcfe19cf8e142a70609f965d28 /rust/helpers | |
| parent | gfs2: Only defer deletes when we have an iopen glock (diff) | |
| download | kernel-ffd1cf0443a208b80e40100ed02892d2ec74c7e9.tar.gz kernel-ffd1cf0443a208b80e40100ed02892d2ec74c7e9.zip | |
gfs2: Prevent inode creation race
When a request to evict an inode comes in over the network, we are
trying to grab an inode reference via the iopen glock's gl_object
pointer. There is a very small probability that by the time such a
request comes in, inode creation hasn't completed and the I_NEW flag is
still set. To deal with that, wait for the inode and then check if
inode creation was successful.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
