NFSv4 ACLs on NFS4 mount ?

Rick Macklem rmacklem at uoguelph.ca
Sat Feb 12 21:51:27 UTC 2011


> 
> Lovely, works as expected. Thanks!
> 
Good to hear. I'll admit neither George or I had tested ZFS.

> Only minor note, server-nfsv4acl.patch expect slightly different code
> before (and after):
> 
> ...
> NFSVOPLOCK(vp, LK_EXCLUSIVE | LK_RETRY, p);
> ...
> 
> in 8.1-p1 vs.
> 
> ...
> if (vn_lock(vp, LK_SHARED) == 0) {
> ...
> 
> I attach patch against 8.1-p1 I finally used.
> 
Yep, your patch is fine. (All that needs to be done is
replace the VOP_ACCESS() call with VOP_ACCESSX() as you've
done.)

rick


More information about the freebsd-fs mailing list