Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361305
b: refs/heads/master
c: af591ad
h: refs/heads/master
i:
  361303: 3ec4041
v: v3
  • Loading branch information
Ionut-Gabriel Radu authored and Jan Kara committed Mar 11, 2013
1 parent 391aa49 commit b42bc91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 8d0c2d10dd72c5292eda7a06231056a4c972e4cc
refs/heads/master: af591ad896ef75585752ac2eab4fba9437f23322
4 changes: 1 addition & 3 deletions trunk/fs/reiserfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,16 +1147,14 @@ static int reiserfs_parse_options(struct super_block *s, char *options, /* strin
"on filesystem root.");
return 0;
}
qf_names[qtype] =
kmalloc(strlen(arg) + 1, GFP_KERNEL);
qf_names[qtype] = kstrdup(arg, GFP_KERNEL);
if (!qf_names[qtype]) {
reiserfs_warning(s, "reiserfs-2502",
"not enough memory "
"for storing "
"quotafile name.");
return 0;
}
strcpy(qf_names[qtype], arg);
if (qtype == USRQUOTA)
*mount_options |= 1 << REISERFS_USRQUOTA;
else
Expand Down

0 comments on commit b42bc91

Please sign in to comment.