Re: [fuse-devel] [PATCH v3] fuse: fix stat call on 32 bit platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Shilovsky <piastry@xxxxxxxxxxx> writes:

> Now we store attr->ino at inode->i_ino, return attr->ino at the
> first time and then return inode->i_ino if the attribute timeout
> isn't expired. That's wrong on 32 bit platforms because attr->ino
> is 64 bit and inode->i_ino is 32 bit in this case.
>
> Fix this by saving 64 bit ino in fuse_inode structure and returning
> it every time we call getattr. Also squash attr->ino into inode->i_ino
> explicitly.
>
> Signed-off-by: Pavel Shilovsky <piastry@xxxxxxxxxxx>

Thanks, applied with minor modifications.

Miklos

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux