linux-uconsole/fs/fuse
Pavel Shilovsky 6140710c5d fuse: fix stat call on 32 bit platforms
commit 45c72cd73c 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-17 11:23:12 -07:00
..
control.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
cuse.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse 2011-03-22 10:42:43 -07:00
dev.c fuse: fix fuse_retrieve 2011-12-21 12:57:44 -08:00
dir.c fuse: fix stat call on 32 bit platforms 2012-06-17 11:23:12 -07:00
file.c Fix common misspellings 2011-03-31 11:26:23 -03:00
fuse_i.h fuse: fix stat call on 32 bit platforms 2012-06-17 11:23:12 -07:00
inode.c fuse: fix stat call on 32 bit platforms 2012-06-17 11:23:12 -07:00
Kconfig fs/Kconfig: move fuse out 2009-01-22 13:15:55 +03:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00