projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fef2e9f
)
reiserfs: Fix quota mount option parsing
author
Jan Kara
<
[email protected]
>
Wed, 21 Dec 2011 16:35:34 +0000
(17:35 +0100)
committer
Jan Kara
<
[email protected]
>
Mon, 9 Jan 2012 12:52:09 +0000
(13:52 +0100)
When jqfmt mount option is not specified on remount, we mistakenly clear
s_jquota_fmt value stored in superblock. Fix the problem.
CC:
[email protected]
CC:
[email protected]
Signed-off-by: Jan Kara <
[email protected]
>
fs/reiserfs/super.c
patch
|
blob
|
history
diff --git
a/fs/reiserfs/super.c
b/fs/reiserfs/super.c
index 14363b96b6afafa74a80c2c66553c8d914064268..f9eaa4a4f5f319f4b0e7a6b398183a5b2060a959 100644
(file)
--- a/
fs/reiserfs/super.c
+++ b/
fs/reiserfs/super.c
@@
-1164,7
+1164,8
@@
static void handle_quota_files(struct super_block *s, char **qf_names,
kfree(REISERFS_SB(s)->s_qf_names[i]);
REISERFS_SB(s)->s_qf_names[i] = qf_names[i];
}
- REISERFS_SB(s)->s_jquota_fmt = *qfmt;
+ if (*qfmt)
+ REISERFS_SB(s)->s_jquota_fmt = *qfmt;
}
#endif