Commit aa6ffa5
committed
client: check if inode ref is dir before proceeding with lookup
Lookup on non-dir inode is incorrect. Client::_lookup did check for it
but the order needed to be correct i.e. check for non-dir inode before
anything.
Fixes: https://tracker.ceph.com/issues/70553
Signed-off-by: Dhairya Parmar <[email protected]>1 parent 23b6b43 commit aa6ffa5
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7517 | 7517 | | |
7518 | 7518 | | |
7519 | 7519 | | |
| 7520 | + | |
| 7521 | + | |
| 7522 | + | |
| 7523 | + | |
| 7524 | + | |
7520 | 7525 | | |
7521 | 7526 | | |
7522 | 7527 | | |
| |||
7543 | 7548 | | |
7544 | 7549 | | |
7545 | 7550 | | |
7546 | | - | |
7547 | | - | |
7548 | | - | |
7549 | | - | |
7550 | | - | |
7551 | 7551 | | |
7552 | 7552 | | |
7553 | 7553 | | |
| |||
0 commit comments