• Artem Bityutskiy's avatar
    UBI: remove redundant mutex · 383d08e0
    Artem Bityutskiy authored
    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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    383d08e0
ubi.h 22.4 KB