Commit ce34900
exportfs: use lookup_one_unlocked()
rather than locking the directory and using lookup_one(), just use
lookup_one_unlocked(). This keeps locking code centralised.
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://lore.kernel.org/20250608230952.20539-5-neil@brown.name
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 8668a0d commit ce34900
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
| 552 | + | |
554 | 553 | | |
555 | 554 | | |
556 | 555 | | |
557 | 556 | | |
558 | 557 | | |
559 | 558 | | |
560 | | - | |
561 | 559 | | |
562 | 560 | | |
563 | 561 | | |
| |||
0 commit comments