Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Remove stale comment that should been dropped with
Browse files Browse the repository at this point in the history
  • Loading branch information
clefru committed Dec 17, 2016
1 parent f200b83 commit 0636e96
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/sys/rwlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,6 @@ RW_LOCK_HELD(krwlock_t *rwp)
spl_rw_lockdep_on_maybe(rwp); \
})

/*
* This implementation of rw_tryupgrade() behaves slightly differently
* from its counterparts on other platforms. It drops the RW_READER lock
* and then acquires the RW_WRITER lock leaving a small window where no
* lock is held. On other platforms the lock is never released during
* the upgrade process. This is necessary under Linux because the kernel
* does not provide an upgrade function.
*/
#define rw_tryupgrade(rwp) \
({ \
int _rc_ = 0; \
Expand Down

0 comments on commit 0636e96

Please sign in to comment.