Home
last modified time | relevance | path

Searched hist:"45 c72cd73c788dd18c8113d4a404d6b4a01decf1" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/fuse/
H A Dfuse_i.hdiff 45c72cd73c788dd18c8113d4a404d6b4a01decf1 Thu May 10 10:49:38 CDT 2012 Pavel Shilovsky <piastry@etersoft.ru> 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>
H A Dinode.cdiff 45c72cd73c788dd18c8113d4a404d6b4a01decf1 Thu May 10 10:49:38 CDT 2012 Pavel Shilovsky <piastry@etersoft.ru> 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>
H A Ddir.cdiff 45c72cd73c788dd18c8113d4a404d6b4a01decf1 Thu May 10 10:49:38 CDT 2012 Pavel Shilovsky <piastry@etersoft.ru> 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>