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:
committed by
Greg Kroah-Hartman
parent
15a3382451
commit
cafa6b5dd7
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user