UBIFS: remove mst_mutex
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 29 Jun 2014 13:55:02 +0000 (16:55 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:41 +0000 (16:23 +0000)
commit7944bd2cdbf0b3d6d5dc6f6eeea54bc11e944e40
treec23f54369c5aabd3e62ff16bfcb2ca9dd2959726
parentd9c145180fc42155cd4c97fce75ca3165571a3ea
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>
fs/ubifs/commit.c
fs/ubifs/master.c
fs/ubifs/super.c
fs/ubifs/ubifs.h