UBIFS: fix checkpatch.pl warnings
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 28 Dec 2008 09:34:26 +0000 (11:34 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 31 Dec 2008 12:13:25 +0000 (14:13 +0200)
commitf92b982680e4b4149c559789a54e1e9db190752a
treefb24f6351be9f307d8f9001f226f8aa0ee71cfdc
parent6a4a9b438fe43397f4652853838f284cddd629b5
UBIFS: fix checkpatch.pl warnings

These are mostly long lines and wrong indentation warning
fixes. But also there are two volatile variables and
checkpatch.pl complains about them:

WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
+       volatile int gc_seq;

WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
+       volatile int gced_lnum;

Well, we anyway use smp_wmb() for c->gc_seq and c->gced_lnum, so
these 'volatile' modifiers can be just dropped.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/debug.c
fs/ubifs/file.c
fs/ubifs/journal.c
fs/ubifs/lpt_commit.c
fs/ubifs/tnc.c
fs/ubifs/ubifs.h