summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-05-10 19:49:38 +0400
committerMiklos Szeredi <mszeredi@suse.cz>2012-05-14 17:06:42 +0200
commit45c72cd73c788dd18c8113d4a404d6b4a01decf1 (patch)
tree49e28ba927e9485b6feadad7b60ec05d9bb6cff7 /fs/9p/vfs_inode.c
parent519c6040ce04474bc893774f866fd8d907b20429 (diff)
downloadblackbird-op-linux-45c72cd73c788dd18c8113d4a404d6b4a01decf1.tar.gz
blackbird-op-linux-45c72cd73c788dd18c8113d4a404d6b4a01decf1.zip
fuse: fix stat call on 32 bit platforms
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@etersoft.ru> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/9p/vfs_inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud