aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2013-11-28 14:54:41 -0500
committerGreg Kroah-Hartman <[email protected]>2013-11-29 18:10:48 -0800
commitbc755553df9ab33f389c1a0a8bd0b4f4646e80ef (patch)
treea77c1a97948ebaa6f9a31e9b580ccc0fb254bead /scripts/stackusage
parentba7443bc656e5236c316b2acacc8b551f872910f (diff)
sysfs, kernfs: make inode number ida per kernfs_root
kernfs is being updated to allow multiple sysfs_dirent hierarchies so that it can also be used by other users. Currently, inode number is allocated using a global ida, sysfs_ino_ida; however, inos for different hierarchies should be handled separately. This patch makes ino allocation per kernfs_root. sysfs_ino_ida is replaced by kernfs_root->ino_ida and sysfs_new_dirent() is updated to take @root and allocate ino from it. ida_simple_get/remove() are used instead of sysfs_ino_lock and sysfs_alloc/free_ino(). Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions