vfs: tidy up sparse warnings in fs/namei.c
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 23:10:40 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 23:10:40 +0000 (16:10 -0700)
commitf7493e5d9cc10ac97cf1f1579fdc14117460b40b
tree5c73bd9418b24398b33c5eb2c2fb3ea749d8c631
parent989412bbd2835f1475d1528846693eddbac744c8
vfs: tidy up sparse warnings in fs/namei.c

While doing the fs/namei.c cleanups, I ran sparse on it, and it pointed
out other large integers and a couple of cases of us using '0' instead
of the proper 'NULL'.

Sparse still doesn't understand some of the conditional locking going
on, but that's no excuse for not fixing up the trivial stuff.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c