UBIFS: fix races in bit-fields
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 8 Sep 2008 13:38:01 +0000 (16:38 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Sep 2008 08:12:58 +0000 (11:12 +0300)
commitba60ecabf067c8ecbde47af4d99b74ee57234d8e
treef5dcd47beb1a9b0899768e932bacfc8496902d81
parented382d5898ccfc3d7ba775be2f1596f6a1547935
UBIFS: fix races in bit-fields

We cannot store bit-fields together if the processes which
change them may race, unless we serialize them.

Thus, move the nospc and nospc_rp bit-fields eway from
the mount option/constant bit-fields, to avoid races.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/ubifs.h