xfs: fixed signedness of error code in xfs_inode_buf_verify
Prior to v3.17, XFS used positive error codes internally. Commit af8d9716 (xfs: inode recovery readahead can race with inode buffer creation), upstream commit b79f4a1c backported from later releases need the error code signs reversed. Negative error codes will cause assertion failures (BUG_ON on kernels with assertions enabled. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Cc: Dave Chinner <dchinner@redhat.com> Cc: Brian Foster <bfoster@redhat.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Showing
Please register or sign in to comment