]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67c826d484c4c336bcefe583ee412bd3380c47e4
tree5c73bd9418b24398b33c5eb2c2fb3ea749d8c631
parenteebaad460f61b42ec1bd1f3cb62232ee8ed10428
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