sysfs: Store the sysfs inode in an unsigned int.

Store the sysfs inode number in an unsided int because
ida inode allocator can return at most a 31 bit number,
reducing the size of struct sysfs_dirent by 8 bytes
on 64bit platforms.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Eric W. Biederman
2011-12-18 20:08:16 -08:00
committed by Greg Kroah-Hartman
parent 15a3382451
commit cafa6b5dd7
2 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ struct sysfs_dirent {
unsigned short s_flags;
umode_t s_mode;
ino_t s_ino;
unsigned int s_ino;
struct sysfs_inode_attrs *s_iattr;
};