diff options
| author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-05-10 19:49:38 +0400 |
|---|---|---|
| committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2014-02-10 16:11:37 -0500 |
| commit | bcbb4d014a85dcbb499b9a9cfcfbd9f779e44edf (patch) | |
| tree | bf20866568d6afc5901d2a3524c8537415972e02 /drivers/input/input-polldev.c | |
| parent | a02302d63a1a2cda7bad8391b9da621a56f7765d (diff) | |
fuse: fix stat call on 32 bit platforms
commit 45c72cd73c788dd18c8113d4a404d6b4a01decf1 upstream.
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/input/input-polldev.c')
0 files changed, 0 insertions, 0 deletions
