]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
udf: super.c reorganization
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 10 Feb 2008 10:33:08 +0000 (11:33 +0100)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:22:45 +0000 (14:22 +0200)
commit165923fa4590b0eb77bec31af383ea16b2d5868f
tree10b05d436c73e5392efc85eb918138d863ad3f28
parentaf15a298a49c9b5844cdaf70e10eb808e54ead2c
udf: super.c reorganization

reorganize few code blocks in super.c which
were needlessly indented (and hard to read):

so change from:
rettype fun()
{
init;
if (sth) {
long block of code;
}
}

to:
rettype fun()
{
init;
if (!sth)
return;
long block of code;
}

or

from:
rettype fun2()
{
init;
while (sth) {
init2();
if (sth2) {
long block of code;
}
}
}

to:
rettype fun2()
{
init;
while (sth) {
init2();
if (!sth2)
continue;
long block of code;
}
}

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c