+ coda-destroy-mutex-in-put_super.patch added to -mm tree

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

 



The patch titled
     Subject: coda: destroy mutex in put_super()
has been added to the -mm tree.  Its filename is
     coda-destroy-mutex-in-put_super.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/coda-destroy-mutex-in-put_super.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/coda-destroy-mutex-in-put_super.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Fabian Frederick <fabf@xxxxxxxxx>
Subject: coda: destroy mutex in put_super()

We can safely destroy vc_mutex at the end of umount process.

Link: http://lkml.kernel.org/r/f436f68908c467c5663bc6a9251b52cd7b95d2a5.1558117389.git.jaharkes@xxxxxxxxxx
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Signed-off-by: Jan Harkes <jaharkes@xxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: Mikko Rapeli <mikko.rapeli@xxxxxx>
Cc: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
Cc: Yann Droneaud <ydroneaud@xxxxxxxxxx>
Cc: Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/coda/inode.c |    1 +
 1 file changed, 1 insertion(+)

--- a/fs/coda/inode.c~coda-destroy-mutex-in-put_super
+++ a/fs/coda/inode.c
@@ -236,6 +236,7 @@ static void coda_put_super(struct super_
 	vcp->vc_sb = NULL;
 	sb->s_fs_info = NULL;
 	mutex_unlock(&vcp->vc_mutex);
+	mutex_destroy(&vcp->vc_mutex);
 
 	pr_info("Bye bye.\n");
 }
_

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

coda-destroy-mutex-in-put_super.patch
coda-use-size-for-stat.patch
coda-add-__init-to-init_coda_psdev.patch
coda-remove-sysctl-object-from-module-when-unused.patch
coda-remove-sb-test-in-coda_fid_to_inode.patch
coda-ftoc-validity-check-integration.patch




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

  Powered by Linux