orangefs: use S_ISREG(mode) and friends instead of mode & S_IFREG.
authorMartin Brandenburg <martin@omnibond.com>
Fri, 5 Feb 2016 21:37:00 +0000 (16:37 -0500)
committerMike Marshall <hubcap@omnibond.com>
Fri, 19 Feb 2016 18:45:53 +0000 (13:45 -0500)
commitcf22644a0e5f1a66c61e90da15784effe3ba7ced
tree7bd88a197d85cdffe4bbc3114234773be0af3031
parent78699e29fd784a4613d254a22627f336c55c4a76
orangefs: use S_ISREG(mode) and friends instead of mode & S_IFREG.

Suggestion from Dan Carpenter.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-utils.c