git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: Simplify the usage of clear_opt() and set_opt() macros
[pandora-kernel.git]
/
fs
/
ext4
/
mballoc.c
diff --git
a/fs/ext4/mballoc.c
b/fs/ext4/mballoc.c
index
5b4d4e3
..
731b6f7
100644
(file)
--- a/
fs/ext4/mballoc.c
+++ b/
fs/ext4/mballoc.c
@@
-2617,7
+2617,7
@@
static inline int ext4_issue_discard(struct super_block *sb,
ret = sb_issue_discard(sb, discard_block, count, GFP_NOFS, 0);
if (ret == -EOPNOTSUPP) {
ext4_warning(sb, "discard not supported, disabling");
- clear_opt(
EXT4_SB(sb)->s_mount_opt
, DISCARD);
+ clear_opt(
sb
, DISCARD);
}
return ret;
}