Commit ba08030
smb3: missing inode locks in punch hole
smb3 fallocate punch hole was not grabbing the inode or filemap_invalidate
locks so could have race with pagemap reinstantiating the page.
Cc: [email protected]
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent c919c16 commit ba08030
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3384 | 3384 | | |
3385 | 3385 | | |
3386 | 3386 | | |
3387 | | - | |
| 3387 | + | |
3388 | 3388 | | |
3389 | 3389 | | |
3390 | 3390 | | |
| |||
3393 | 3393 | | |
3394 | 3394 | | |
3395 | 3395 | | |
3396 | | - | |
3397 | | - | |
| 3396 | + | |
3398 | 3397 | | |
3399 | 3398 | | |
3400 | 3399 | | |
3401 | 3400 | | |
3402 | | - | |
3403 | | - | |
| 3401 | + | |
3404 | 3402 | | |
3405 | 3403 | | |
3406 | 3404 | | |
| |||
3420 | 3418 | | |
3421 | 3419 | | |
3422 | 3420 | | |
3423 | | - | |
3424 | 3421 | | |
| 3422 | + | |
| 3423 | + | |
| 3424 | + | |
3425 | 3425 | | |
3426 | 3426 | | |
3427 | 3427 | | |
| |||
0 commit comments