Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96d4b0d5 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

staging: lustre: bitwise vs logical typo



Bitwise AND was intended here obviously.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dfc2b001
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}