The patch titled Remove incorrect unlock_kernel from allocation failure path in coda_open() has been added to the -mm tree. Its filename is remove-incorrect-unlock_kernel-from-allocation.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Remove incorrect unlock_kernel from allocation failure path in coda_open() From: Josh Triplett <josht@xxxxxxxxxx> Commit 398c53a757702e1e3a7a2c24860c7ad26acb53ed (in the historical GIT tree) moved the lock_kernel() in coda_open after the allocation of a coda_file_info struct, but left an unlock_kernel() in the allocation failure error path; remove it. Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxx> Acked-by: Jan Harkes <jaharkes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/coda/file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN fs/coda/file.c~remove-incorrect-unlock_kernel-from-allocation fs/coda/file.c --- a/fs/coda/file.c~remove-incorrect-unlock_kernel-from-allocation +++ a/fs/coda/file.c @@ -136,10 +136,8 @@ int coda_open(struct inode *coda_inode, coda_vfs_stat.open++; cfi = kmalloc(sizeof(struct coda_file_info), GFP_KERNEL); - if (!cfi) { - unlock_kernel(); + if (!cfi) return -ENOMEM; - } lock_kernel(); _ Patches currently in -mm which might be from josht@xxxxxxxxxx are remove-incorrect-unlock_kernel-from-allocation.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