The patch titled Subject: ipcshm-move-bug_on-check-into-shm_lock-fix has been removed from the -mm tree. Its filename was ipcshm-move-bug_on-check-into-shm_lock-fix.patch This patch was dropped because it was folded into ipcshm-move-bug_on-check-into-shm_lock.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: ipcshm-move-bug_on-check-into-shm_lock-fix simplify code Cc: Davidlohr Bueso <dave@xxxxxxxxxxxx> Cc: Davidlohr Bueso <dbueso@xxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/shm.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff -puN ipc/shm.c~ipcshm-move-bug_on-check-into-shm_lock-fix ipc/shm.c --- a/ipc/shm.c~ipcshm-move-bug_on-check-into-shm_lock-fix +++ a/ipc/shm.c @@ -155,14 +155,11 @@ static inline struct shmid_kernel *shm_l { struct kern_ipc_perm *ipcp = ipc_lock(&shm_ids(ns), id); - if (IS_ERR(ipcp)) { - /* - * We raced in the idr lookup or with shm_destroy(), - * either way, the ID is busted. - */ - BUG(); - return (struct shmid_kernel *)ipcp; - } + /* + * We raced in the idr lookup or with shm_destroy(). Either way, the + * ID is busted. + */ + BUG_ON(IS_ERR(ipcp)); return container_of(ipcp, struct shmid_kernel, shm_perm); } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch mm-meminit-inline-some-helper-functions.patch mm-meminit-finish-initialisation-of-struct-pages-before-basic-setup.patch devpts-if-initialization-failed-dont-crash-when-opening-dev-ptmx.patch ipcshm-move-bug_on-check-into-shm_lock.patch scsi-resolve-sg-buffer-const-ness-issue-fix.patch genalloc-rename-dev_get_gen_pool-to-gen_pool_get-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html