rwsem fix compatibility issues with v3 kernels