Files
linux/fs
Pavel Skripkin 7eb0e28c1d sysv: use BUILD_BUG_ON instead of runtime check
There were runtime checks about sizes of struct v7_super_block and struct
sysv_inode.  If one of these checks fail the kernel will panic.  Since
these values are known at compile time let's use BUILD_BUG_ON(), because
it's a standard mechanism for validation checking at build time

Link: https://lkml.kernel.org/r/20210813123020.22971-1-paskripkin@gmail.com
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-09 10:02:52 -08:00
..
2021-08-19 09:02:55 +09:00
2021-10-19 09:36:06 +02:00
2021-11-09 10:02:51 -08:00
2021-08-26 22:28:02 +02:00
2021-09-10 09:46:48 -07:00
2021-08-16 10:50:32 -06:00
2021-08-19 09:02:55 +09:00
2021-11-09 10:02:50 -08:00
2021-10-19 17:09:34 -06:00
2021-06-29 10:53:48 -07:00
2021-08-10 17:57:22 +02:00