Whamcloud - gitweb
b=22978 better conformation to coding standards
authorBrian J. Murrell <brian.murrell@oracle.com>
Tue, 31 Aug 2010 19:07:47 +0000 (15:07 -0400)
committerJohann Lombardi <johann.lombardi@oracle.com>
Tue, 31 Aug 2010 22:06:41 +0000 (00:06 +0200)
commit07c2622d15a51df052cf404749edc4dfcb83b1cb
tree570e4ba711d1050fc74ecd330e4fbe40df056842
parenta0f9029c9b20f48f0dac0418186c9fb1c42304a1
b=22978 better conformation to coding standards

Per adilger:
- the preferred Lustre coding style is to not use assignments inside
  conditionals
- Lustre coding style recommends against using negation on non-boolean
  values
- while fixing this code, we may as well print the flag in octal, which
is how it is normally defined.

i=whitebear
i=panda
lustre/liblustre/tests/sanity.c