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
fs/cifs: Simplify bool comparison.
[sfrench/cifs-2.6.git]
/
fs
/
cifs
/
connect.c
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index 7c3325c0fadc87184c8816e124f46273e9fb1eef..c8ef24bac94fc7015df7358f52a2478ec8355f74 100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-2628,7
+2628,7
@@
void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon,
} else if (ctx)
tcon->unix_ext = 1; /* Unix Extensions supported */
- if (
tcon->unix_ext == 0
) {
+ if (
!tcon->unix_ext
) {
cifs_dbg(FYI, "Unix extensions disabled so not set on reconnect\n");
return;
}