]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r201439
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jan 2010 20:18:59 +0000 (20:18 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jan 2010 20:18:59 +0000 (20:18 +0000)
commitbd2835f2a603f6ea4803f7225335ab8053f3776a
tree7aea428c8d7482100f42403a3a25b4fa882dbe30
parentc7f131f31de362034770ab637ac9ad6739cee706
MFC: r201439
Fix three related problems in the experimental nfs client when
checking for conflicts w.r.t. byte range locks for NFSv4.
1 - Return 0 instead of EACCES when a conflict is found, for F_GETLK.
2 - Check for "same file" when checking for a conflict.
3 - Don't check for a conflict for the F_UNLCK case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@202524 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clstate.c