Bug 4876 - can lock file, but cannot unlock it.
Summary: can lock file, but cannot unlock it.
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: user space tools (show other bugs)
Version: 2.6
Hardware: x86 Linux
: P3 major
Target Milestone: ---
Assignee: Jeff Layton
QA Contact:
Depends on:
Reported: 2007-08-12 03:43 UTC by yuval aviel
Modified: 2009-07-27 12:52 UTC (History)
1 user (show)

See Also:

Basic file locking test (856 bytes, text/x-csrc)
2007-08-12 03:46 UTC, yuval aviel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuval aviel 2007-08-12 03:43:21 UTC
This bug is a follow up from subversion issue:

The scenario involves a Linux (svn) client contacting a remote Windows server. The svn repository is saved on an NTFS file-system.

running the lock/unlock test code, we see that it is possible to lock a file, but we get an error when trying to unlock it.
see attached files there and here.
Comment 1 yuval aviel 2007-08-12 03:46:01 UTC
Created attachment 2862 [details]
Basic file locking test
Comment 2 Jeff Layton 2009-07-27 12:52:12 UTC
This seems to work properly on recent kernel versions. Tested on win2k8 server serving out NTFS filesystem. Kernel version was 2.6.31-0.94.rc4.fc12.x86_64.

I'm going to close this as FIXED though I'm not exactly clear on which patch actually fixed it. If you find that it's not working, please reopen the bug.