aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-05-10 19:49:38 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-17 11:23:12 -0700
commit6140710c5dba509a20b26dfe38b58f40baf2a2c8 (patch)
tree36b64faaa0e80279bdd5bdc6c0b6f89e7a2db2ae /drivers/net/e1000
parent33b3689af55ddec6efd608bd82f09a83e4e4042c (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/e1000')
0 files changed, 0 insertions, 0 deletions