Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36198
b: refs/heads/master
c: 36b756f
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Sep 27, 2006
1 parent 9692e41 commit 5c46463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba52de123d454b57369f291348266d86f4b35070
refs/heads/master: 36b756f2b5762e6d5acba0c18e75cb5c11f11c1b
21 changes: 2 additions & 19 deletions trunk/fs/reiserfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,12 +723,6 @@ static const arg_desc_t error_actions[] = {
{NULL, 0, 0},
};

int reiserfs_default_io_size = 128 * 1024; /* Default recommended I/O size is 128k.
There might be broken applications that are
confused by this. Use nolargeio mount option
to get usual i/o size = PAGE_SIZE.
*/

/* proceed only one option from a list *cur - string containing of mount options
opts - array of options which are accepted
opt_arg - if option is found and requires an argument and if it is specifed
Expand Down Expand Up @@ -957,19 +951,8 @@ static int reiserfs_parse_options(struct super_block *s, char *options, /* strin
}

if (c == 'w') {
char *p = NULL;
int val = simple_strtoul(arg, &p, 0);

if (*p != '\0') {
reiserfs_warning(s,
"reiserfs_parse_options: non-numeric value %s for nolargeio option",
arg);
return 0;
}
if (val)
reiserfs_default_io_size = PAGE_SIZE;
else
reiserfs_default_io_size = 128 * 1024;
reiserfs_warning(s, "reiserfs: nolargeio option is no longer supported");
return 0;
}

if (c == 'j') {
Expand Down

0 comments on commit 5c46463

Please sign in to comment.