summaryrefslogtreecommitdiff
path: root/fs/reiserfs/inode.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-01-17 12:31:56 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-20 18:53:21 -0500
commite2934ed183b94cff7626a517877ecc9bbe82cdc8 (patch)
tree9f55c6105296b4aba5f73e18af5a8deabf24c725 /fs/reiserfs/inode.c
parentf2a3313d65f0bf6d3fefe8fa40e0208fe003e59e (diff)
scsi: lpfc: Fix lpfc_wwn_set return code check
When I reversed the patch to re-add the lpfc_soft_wwn parameter feature, it re-added code that had a long-standing bug. (that's what I get I guess :) As Dan Carpenter pointed out - error checks looked at wrong polarity. 0 is success, -errno is failure. Updated checks. Signed-off-by: James Smart <james.smart@broadcom.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/reiserfs/inode.c')
0 files changed, 0 insertions, 0 deletions