>                         (buf->r_locks)--;
>                         if (!buf->r_locks)
>                                 *buflock &= ~BL_R_LOCK;
> 
> 
> Or I am missing something...

buflock is per-backend flag, it's not in shmem. Backend is
allowed only single lock per buffer.

Vadim

Tue, 22 May 2001 13:57:14 -0700
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: ? potential bug in LockBuffer ?