From: Ryusuke Konishi Date: Tue, 7 Apr 2009 02:01:55 +0000 (-0700) Subject: nilfs2: replace BUG_ON and BUG calls triggerable from ioctl X-Git-Tag: v2.6.30-rc1~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b;p=pandora-kernel.git nilfs2: replace BUG_ON and BUG calls triggerable from ioctl Pekka Enberg advised me: > It would be nice if BUG(), BUG_ON(), and panic() calls would be > converted to proper error handling using WARN_ON() calls. The BUG() > call in nilfs_cpfile_delete_checkpoints(), for example, looks to be > triggerable from user-space via the ioctl() system call. This will follow the comment and keep them to a minimum. Acked-by: Pekka Enberg Signed-off-by: Ryusuke Konishi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed