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:
dfc2b00
)
staging: lustre: bitwise vs logical typo
author
Dan Carpenter
<
[email protected]
>
Thu, 31 Jul 2014 15:21:34 +0000
(18:21 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 1 Aug 2014 22:00:18 +0000
(15:00 -0700)
Bitwise AND was intended here obviously.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/lustre/lustre/obdecho/echo.c
patch
|
blob
|
history
diff --git
a/drivers/staging/lustre/lustre/obdecho/echo.c
b/drivers/staging/lustre/lustre/obdecho/echo.c
index f3b7429add029f338a09a21c6b8c84347b561352..dae1599af384d7b3d917ef542f645cafee31168f 100644
(file)
--- a/
drivers/staging/lustre/lustre/obdecho/echo.c
+++ b/
drivers/staging/lustre/lustre/obdecho/echo.c
@@
-125,7
+125,7
@@
static int echo_create(const struct lu_env *env, struct obd_export *exp,
return -EINVAL;
}
- if (!(oa->o_mode &
&
S_IFMT)) {
+ if (!(oa->o_mode & S_IFMT)) {
CERROR("echo obd: no type!\n");
return -ENOENT;
}