orangefs: Adjust three checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 17 Aug 2017 19:35:16 +0000 (21:35 +0200)
committerMike Marshall <hubcap@omnibond.com>
Thu, 14 Sep 2017 18:58:31 +0000 (14:58 -0400)
commit0b08273c8ab7e688832120c4817b1adfdc56e231
treed0da15cfafc361208379e07dc2975f2777e287d7
parent5e273a0e06ee5a50bb9cd40026177feca060c101
orangefs: Adjust three checks for null pointers

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written !…

Thus fix affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/acl.c
fs/orangefs/xattr.c