diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-13 07:37:11 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-08-02 12:34:04 -0400 |
commit | 0cc5b4ce7a3735ba0c64ed4c5a1f673165c4d5b2 (patch) | |
tree | 90167ceea6233657fb875508307f420ed2192ec7 /fs/ext2/super.c | |
parent | 9139710148744bf10c57ec6ace4f5f9532e040f4 (diff) | |
download | linux-0cc5b4ce7a3735ba0c64ed4c5a1f673165c4d5b2.tar.gz linux-0cc5b4ce7a3735ba0c64ed4c5a1f673165c4d5b2.tar.bz2 linux-0cc5b4ce7a3735ba0c64ed4c5a1f673165c4d5b2.zip |
ext2: remove nobh support
The nobh mode is an obscure feature to save lowlevel for large memory
32-bit configurations while trading for much slower performance and
has been long obsolete. Remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r-- | fs/ext2/super.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index f6a19f6d9f6d..a1c1263c07ab 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -296,9 +296,6 @@ static int ext2_show_options(struct seq_file *seq, struct dentry *root) seq_puts(seq, ",noacl"); #endif - if (test_opt(sb, NOBH)) - seq_puts(seq, ",nobh"); - if (test_opt(sb, USRQUOTA)) seq_puts(seq, ",usrquota"); @@ -551,7 +548,8 @@ static int parse_options(char *options, struct super_block *sb, clear_opt (opts->s_mount_opt, OLDALLOC); break; case Opt_nobh: - set_opt (opts->s_mount_opt, NOBH); + ext2_msg(sb, KERN_INFO, + "nobh option not supported"); break; #ifdef CONFIG_EXT2_FS_XATTR case Opt_user_xattr: |