[PATCH] knfsd: replace some warning ins nfsfh.h with BUG_ON or WARN_ON
authorNeilBrown <neilb@suse.de>
Fri, 26 Jan 2007 08:56:59 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:59 +0000 (13:50 -0800)
commite2df0c8644db3d01e3c6fc5f7670fdd7b4c2b234
tree832718f7a8e8b06dbf5cdaac4aa4d9e7c3b57cd8
parent250f3915183d377d36e012bac9caa7345ce465b8
[PATCH] knfsd: replace some warning ins nfsfh.h with BUG_ON or WARN_ON

A couple of the warnings will be followed by an Oops if they ever fire, so may
as well be BUG_ON.  Another isn't obviously fatal but has never been known to
fire, so make it a WARN_ON.

Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/nfsd/nfsfh.h