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)
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>

No differences found