Re: [PATCH v2] erofs: fix file handle encoding for 64-bit NIDs

2025-04-29 Thread Hongbo Li
On 2025/4/29 15:41, Hongbo Li wrote: In erofs, the inode number has the location information of files. The default encode_fh uses the ino32, this will lack of some information when the file is too big. So we need the internal helpers to encode filehandle. It is easy to reproduce test: 1. p

[PATCH v2] erofs: fix file handle encoding for 64-bit NIDs

2025-04-29 Thread Hongbo Li
In erofs, the inode number has the location information of files. The default encode_fh uses the ino32, this will lack of some information when the file is too big. So we need the internal helpers to encode filehandle. It is easy to reproduce test: 1. prepare an erofs image with nid bigger than