diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-06-29 16:55:02 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-12-14 16:23:41 +0000 |
commit | 7944bd2cdbf0b3d6d5dc6f6eeea54bc11e944e40 (patch) | |
tree | c23f54369c5aabd3e62ff16bfcb2ca9dd2959726 /fs/ubifs/super.c | |
parent | d9c145180fc42155cd4c97fce75ca3165571a3ea (diff) | |
download | kernel_samsung_smdk4412-7944bd2cdbf0b3d6d5dc6f6eeea54bc11e944e40.zip kernel_samsung_smdk4412-7944bd2cdbf0b3d6d5dc6f6eeea54bc11e944e40.tar.gz kernel_samsung_smdk4412-7944bd2cdbf0b3d6d5dc6f6eeea54bc11e944e40.tar.bz2 |
UBIFS: remove mst_mutex
commit 07e19dff63e3d5d6500d831e36554ac9b1b0560e upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 2f467e5..201bcfc 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -1985,7 +1985,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); |