]> git.neil.brown.name Git - history.git/commit
[PATCH] make file leases work as they should
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Jun 2002 04:00:37 +0000 (21:00 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Jun 2002 04:00:37 +0000 (21:00 -0700)
commit23b9a9a362888ccac86c7c4442cc1dc3f687695b
tree96be4e70afaed3d041c931a00ee155abaa3703eb
parent9d33a2710c9604cb7102548d14517f393d0d30c3
[PATCH] make file leases work as they should

This patch fixes the following problems in the file lease:
when there are multiple shared leases on a file, all the
lease holders get notified when someone opens the
file for writing (used to be only the first).
when a nonblocking open breaks a lease, it will time out
as it should (used to never time out).

This should make the leases code more usable (hopefully).
fs/locks.c
include/linux/fs.h