sysfs: Store the sysfs inode in an unsigned int.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Dec 2011 04:08:16 +0000 (20:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 20:41:46 +0000 (12:41 -0800)
commitcafa6b5dd7ce4f0e0a30be301be4efed587a7808
tree47200ffb5c660280ebe734b29662c12df24d7ab5
parent15a3382451e51925facfe430deeca63d90137f5d
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>
fs/sysfs/dir.c
fs/sysfs/sysfs.h