]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit07fe7c0d32ff390cc9bb5bf60bdc38c45beb78c6
tree832718f7a8e8b06dbf5cdaac4aa4d9e7c3b57cd8
parent70eac7e0210f615260e82556d425dcd5fbf58d54
[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