Re: [PATCH 04/15] fuse: Explicitly set inode ID to 1

2025-03-27 Thread Stefan Hajnoczi
On Tue, Mar 25, 2025 at 05:06:44PM +0100, Hanna Czenczek wrote: > Setting .st_ino to the FUSE inode ID is kind of arbitrary. While in > practice it is going to be fixed (to FUSE_ROOT_ID, which is 1) because > we only have the root inode, that is not obvious in fuse_getattr(). > > Just explicitly

[PATCH 04/15] fuse: Explicitly set inode ID to 1

2025-03-25 Thread Hanna Czenczek
Setting .st_ino to the FUSE inode ID is kind of arbitrary. While in practice it is going to be fixed (to FUSE_ROOT_ID, which is 1) because we only have the root inode, that is not obvious in fuse_getattr(). Just explicitly set it to 1 (i.e. no functional change). Signed-off-by: Hanna Czenczek -