summaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-06-29 16:55:02 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-19 09:53:52 +0300
commit07e19dff63e3d5d6500d831e36554ac9b1b0560e (patch)
treee921a551f3f7aa3b38fa253829efb735e2421fbb /fs/ubifs/super.c
parent39274a1e8dd18d47e7ba76a90adc384f14f20a4f (diff)
UBIFS: remove mst_mutex
The 'mst_mutex' is not needed since because 'ubifs_write_master()' is only called on the mount path and commit path. The mount path is sequential and there is no parallelism, and the commit path is also serialized - there is only one commit going on at a time. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index bed5ebfb7c71..106bf20629ce 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -1963,7 +1963,6 @@ static struct ubifs_info *alloc_ubifs_info(struct ubi_volume_desc *ubi)
mutex_init(&c->lp_mutex);
mutex_init(&c->tnc_mutex);
mutex_init(&c->log_mutex);
- mutex_init(&c->mst_mutex);
mutex_init(&c->umount_mutex);
mutex_init(&c->bu_mutex);
mutex_init(&c->write_reserve_mutex);