git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ocfs2: replace strnicmp with strncasecmp
[sfrench/cifs-2.6.git]
/
fs
/
ocfs2
/
cluster
/
masklog.c
diff --git
a/fs/ocfs2/cluster/masklog.c
b/fs/ocfs2/cluster/masklog.c
index 07ac24fd92520f604f6d3cfeff4cd4bd2c6ad85c..af7598bff1b51364affd08eba9cfedba8b3acf16 100644
(file)
--- a/
fs/ocfs2/cluster/masklog.c
+++ b/
fs/ocfs2/cluster/masklog.c
@@
-49,13
+49,13
@@
static ssize_t mlog_mask_show(u64 mask, char *buf)
static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count)
{
static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count)
{
- if (!strn
i
cmp(buf, "allow", 5)) {
+ if (!strn
case
cmp(buf, "allow", 5)) {
__mlog_set_u64(mask, mlog_and_bits);
__mlog_clear_u64(mask, mlog_not_bits);
__mlog_set_u64(mask, mlog_and_bits);
__mlog_clear_u64(mask, mlog_not_bits);
- } else if (!strn
i
cmp(buf, "deny", 4)) {
+ } else if (!strn
case
cmp(buf, "deny", 4)) {
__mlog_set_u64(mask, mlog_not_bits);
__mlog_clear_u64(mask, mlog_and_bits);
__mlog_set_u64(mask, mlog_not_bits);
__mlog_clear_u64(mask, mlog_and_bits);
- } else if (!strn
i
cmp(buf, "off", 3)) {
+ } else if (!strn
case
cmp(buf, "off", 3)) {
__mlog_clear_u64(mask, mlog_not_bits);
__mlog_clear_u64(mask, mlog_and_bits);
} else
__mlog_clear_u64(mask, mlog_not_bits);
__mlog_clear_u64(mask, mlog_and_bits);
} else