]> git.hungrycats.org Git - linux/commit
[PATCH] Fix posix file locking (9/9)
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 23 Aug 2004 07:14:37 +0000 (00:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 07:14:37 +0000 (00:14 -0700)
commitf6297acf85a1c6bfd02ad772e719b8827c9bbd33
treefc2e2e0cfd83688001c64c0d8d3d00fb8e3c6d10
parentffc13a388482bbdeff3952e69c38207b6593a13e
[PATCH] Fix posix file locking (9/9)

NFSv2/v3: Fix up a race in the case where the user presses ^C while a
   process is in the middle of setting up a posix lock. In case the
   server registered our lock, we need to make sure that it gets
   cleaned up during the resulting file close().

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/file.c