]> 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)
commit298689dce196b5d52d443d096c00c622bfde2395
tree5c73bd9418b24398b33c5eb2c2fb3ea749d8c631
parentcf65ac5027770a2aa3eefad2375f137a9e321f48
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