]> err.no Git - linux-2.6/commit
[CIFS] Incorrect hardlink count when original file is cached (oplocked)
authorSteve French <sfrench@us.ibm.com>
Thu, 16 Nov 2006 20:54:20 +0000 (20:54 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 16 Nov 2006 20:54:20 +0000 (20:54 +0000)
commit31ec35d6c81175016a6372571eab23b6bd40b406
treed5c63155e27e23d9704fda1831498f752ee348aa
parent237ee312e10a86e69e01fc02e0daeb0fa3e7a6e8
[CIFS] Incorrect hardlink count when original file is cached (oplocked)

Fixes Samba bug 2823

In this case hardlink count is stale for one of the two inodes (ie the
original file) until it is closed - since revalidate does not go to
server while file is cached locally.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/link.c