]> www.infradead.org Git - users/willy/linux.git/commit
bfs: extra sanity checking and static inode bitmap
authorTigran Aivazian <aivazian.tigran@gmail.com>
Wed, 5 Dec 2018 00:14:13 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Dec 2018 22:09:09 +0000 (09:09 +1100)
commitcf8776b3a1ab2f97753975383f1cfae4c50a9353
tree919ff39d4f5c38e444991901396dba5630b2e689
parent15f8b93b59a456997c9b89239b26e940f6096ef0
bfs: extra sanity checking and static inode bitmap

Strengthen validation of BFS superblock against corruption.  Make in-core
inode bitmap static part of superblock info structure.  Print a warning
when mounting a BFS filesystem created with "-N 512" option as only 510
files can be created in the root directory.  Make the kernel messages more
uniform.  Update the 'prefix' passed to bfs_dump_imap() to match the
current naming of operations.  White space and comments cleanup.

Link: http://lkml.kernel.org/r/CAK+_RLkFZMduoQF36wZFd3zLi-6ZutWKsydjeHFNdtRvZZEb4w@mail.gmail.com
Signed-off-by: Tigran Aivazian <aivazian.tigran@gmail.com>
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
fs/bfs/bfs.h
fs/bfs/dir.c
fs/bfs/file.c
fs/bfs/inode.c
include/uapi/linux/bfs_fs.h