]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: convert runtime BUG_ON() to BUILD_BUG_ON()
authorAmir Goldstein <amir73il@gmail.com>
Wed, 3 Oct 2018 21:25:36 +0000 (00:25 +0300)
committerJan Kara <jack@suse.cz>
Thu, 4 Oct 2018 11:28:50 +0000 (13:28 +0200)
commit71f4a811b4dc6d4331ce0bfc5d75b0da076c0eea
tree441cd39d5155d82b43cb83fed15902326d6b5424
parent1957c4994dcee27f307f1821e118c84330724fd9
fsnotify: convert runtime BUG_ON() to BUILD_BUG_ON()

The BUG_ON() statements to verify number of bits in ALL_FSNOTIFY_BITS
and ALL_INOTIFY_BITS are converted to build time check of the constant.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.c
fs/notify/inotify/inotify_user.c