]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Restore shmid as inode# to fix /proc/pid/maps ABI breakage
authorBadari Pulavarty <pbadari@us.ibm.com>
Sat, 16 Jun 2007 17:15:59 +0000 (10:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 16 Jun 2007 20:16:15 +0000 (13:16 -0700)
commit30475cc12a50816f290828fb7e3cd7036cd622df
tree3195db2642d29568057a11a62889a9a8b67a9cfe
parentdd08c40e3e23f868eb0e49f638eb208736ec7e66
Restore shmid as inode# to fix /proc/pid/maps ABI breakage

shmid used to be stored as inode# for shared memory segments. Some of
the proc-ps tools use this from /proc/pid/maps.  Recent cleanups
to newseg() changed it.  This patch sets inode number back to shared
memory id to fix breakage.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: "Albert Cahalan" <acahalan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c