]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
UBIFS: remove mst_mutex
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 29 Jun 2014 13:55:02 +0000 (16:55 +0300)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:10 +0000 (19:02 +0100)
commitc2e130398734c847683536576354976ab18e3d91
tree1a363e97f5e20c686b6983652cb95d729b722050
parente54fc4edabd848ca4d6e3ba7c4f4ffe73c2fec0b
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: Jiri Slaby <jslaby@suse.cz>
fs/ubifs/commit.c
fs/ubifs/master.c
fs/ubifs/super.c
fs/ubifs/ubifs.h