UBIFS: remove mst_mutex
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 29 Jun 2014 13:55:02 +0000 (16:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 16:59:46 +0000 (08:59 -0800)
commit855d89e814ed6131aee8d790f5e38323e9ca2387
treee4f89761f073201bc204170e5d170828dc031222
parent74df6af526d186c54333107219a5ff79b5e8c1d6
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ubifs/commit.c
fs/ubifs/master.c
fs/ubifs/super.c
fs/ubifs/ubifs.h