reiserfsprogs: update the min block size description
PATCH 1/1 reiserfsprogs: update the min block size description
Current minimal block size is 4096, not 512.
Signed-off-by Wang Sheng-Hui <[email protected]>
--- mkreiserfs/mkreiserfs.8.in | 2 +- mkreiserfs/mkreiserfs.c | 2 +- reiserfscore/node_formats.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
mkreiserfs/mkreiserfs.8.in +1 -1
@@ -33,7 +33,7 @@ automatically set it. .TP \fB-b\fR | \fB--block-size \fIN\fR \fIN\fR is block size in bytes. It may only be set to a power of 2 within the -512-8192 interval. +4096-8192 interval. .TP \fB-h\fR | \fB--hash \fIHASH\fR \fIHASH\fR specifies which hash function will sort the names in the directories.
mkreiserfs/mkreiserfs.c +1 -1
@@ -460,7 +460,7 @@ static void set_block_size(char *str, int *b_size)if (!is_blocksize_correct (*b_size))reiserfs_exit (1 ,"%s: wrong blocksize %s specified, " -"only power of 2 from 512-8192 interval " +"only power of 2 from 4096-8192 interval " "are supported" , program_name, str); }
reiserfscore/node_formats.c +1 -1
@@ -1266,5 +1266,5 @@ void mark_objectid_used(reiserfs_filsys_t fs, __u32 objectid)int is_blocksize_correct (unsigned int blocksize) {return ((((blocksize & -blocksize) == blocksize) - && (blocksize >=512 ) && (blocksize <=8192 ))); + && (blocksize >=4096 ) && (blocksize <=8192 ))); }
Signature · 1 line
1.8.3.2