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:47:54 +0000 (08:47 -0800)
commitc4e70e76860cc84cebd719fbd89637fdd226cf94
tree3b412a3ac31f5f2cc0d1a0b44f7ca591fc9e4d36
parentd016a08a18158fd7002ad24aea8a0224ce2a3d0c
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