UBI: remove redundant mutex
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 7 May 2009 08:25:54 +0000 (11:25 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:20 +0000 (16:04 +0300)
The @mult_mutex does not serve any purpose. We already have
@volumes_mutex and it is enough. The @volume mutex is pushed
down to the 'ubi_rename_volumes()', because we want first
to open all volumes in the exclusive mode, and then lock the
mutex, just like all other ioctl's (remove, re-size, etc) do.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found