linux-kernel-test/fs/fuse
Pavel Shilovsky 45c72cd73c 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>
2012-05-14 17:06:42 +02:00
..
control.c fuse: Convert to kstrtoul_from_user 2012-04-25 12:25:05 +02:00
cuse.c fs: add module.h to files that were implicitly using it 2011-10-31 19:30:31 -04:00
dev.c fuse: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:22 +08:00
dir.c fuse: fix stat call on 32 bit platforms 2012-05-14 17:06:42 +02:00
file.c fuse: optimize fallocate on permanent failure 2012-04-26 10:56:36 +02:00
fuse_i.h fuse: fix stat call on 32 bit platforms 2012-05-14 17:06:42 +02:00
inode.c fuse: fix stat call on 32 bit platforms 2012-05-14 17:06:42 +02:00
Kconfig
Makefile