Commit 68df7ba
fix by_id not free when use_host_ino=true
When use_host_ino mode is turned on, we only need to save the by_id
relationship if the host inode of the file is larger than MAX_HOST_INO,
and don't remove it. however, the previous code used a virtual inode
combining the host inode, dev, mnt, and other parts of the file,
and this inode is a 56bit inode, which is always larger than MAX_HOST_INO,
and so it resulted in the by_id relationship not being cleaned up.
Signed-off-by: zyfjeff <[email protected]>1 parent 9faa6d2 commit 68df7ba
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
779 | | - | |
780 | | - | |
| 779 | + | |
| 780 | + | |
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| |||
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
1376 | 1382 | | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
1377 | 1388 | | |
1378 | 1389 | | |
1379 | 1390 | | |
| |||
0 commit comments