Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux 4.8, starting from torvalds/linux@19c5d690e, will set owner to 1 when read held instead of leave it NULL. So we change the condition to `rw_owner(rwp) <= 1` in RW_READ_HELD. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes openzfs/zfs#5233 Closes openzfs#577
- Loading branch information