+ udf-check-for-allocated-memory-for-data-of-new-inodes-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     udf-check-for-allocated-memory-for-data-of-new-inodes fix
has been added to the -mm tree.  Its filename is
     udf-check-for-allocated-memory-for-data-of-new-inodes-fix.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: udf-check-for-allocated-memory-for-data-of-new-inodes fix
From: Cyrill Gorcunov <gorcunov@xxxxxxxxx>

It seems my previous patch didn't release mutex

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/udf/ialloc.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN fs/udf/ialloc.c~udf-check-for-allocated-memory-for-data-of-new-inodes-fix fs/udf/ialloc.c
--- a/fs/udf/ialloc.c~udf-check-for-allocated-memory-for-data-of-new-inodes-fix
+++ a/fs/udf/ialloc.c
@@ -140,6 +140,7 @@ struct inode * udf_new_inode (struct ino
 	{
 		iput(inode);
 		*err = -ENOMEM;
+		mutex_unlock(&sbi->s_alloc_mutex);
 		return NULL;
 	}
 	if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_AD_IN_ICB))
_

Patches currently in -mm which might be from gorcunov@xxxxxxxxx are

udf-check-for-allocated-memory-for-data-of-new-inodes.patch
udf-check-for-allocated-memory-for-data-of-new-inodes-fix.patch
udf-check-for-allocated-memory-for-inode-data-v2.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux