Commit 7e64c5b
NLM/NFSD: Fix lock notifications for async-capable filesystems
Instead of checking just the exportfs flag, use the new
locks_can_async_lock() helper which allows NLM and NFSD to once again
support lock notifications for all filesystems which use posix_lock_file().
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Link: https://lore.kernel.org/r/865c40da44af67939e8eb560d17a26c9c50f23e0.1726083391.git.bcodding@redhat.com
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 2253ab9 commit 7e64c5b
2 files changed
+7
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
484 | | - | |
| 483 | + | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
496 | 495 | | |
497 | 496 | | |
498 | 497 | | |
499 | | - | |
| 498 | + | |
500 | 499 | | |
501 | 500 | | |
502 | 501 | | |
| |||
550 | 549 | | |
551 | 550 | | |
552 | 551 | | |
553 | | - | |
| 552 | + | |
554 | 553 | | |
555 | 554 | | |
556 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7953 | 7953 | | |
7954 | 7954 | | |
7955 | 7955 | | |
7956 | | - | |
7957 | | - | |
7958 | | - | |
7959 | 7956 | | |
7960 | 7957 | | |
7961 | 7958 | | |
| |||
7966 | 7963 | | |
7967 | 7964 | | |
7968 | 7965 | | |
7969 | | - | |
7970 | | - | |
7971 | | - | |
7972 | 7966 | | |
7973 | 7967 | | |
7974 | 7968 | | |
| |||
7988 | 7982 | | |
7989 | 7983 | | |
7990 | 7984 | | |
7991 | | - | |
7992 | | - | |
7993 | | - | |
7994 | | - | |
7995 | | - | |
7996 | | - | |
7997 | | - | |
7998 | | - | |
7999 | | - | |
| 7985 | + | |
| 7986 | + | |
| 7987 | + | |
| 7988 | + | |
8000 | 7989 | | |
8001 | 7990 | | |
8002 | 7991 | | |
| |||
0 commit comments