]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r329265, r329384
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 10 Mar 2018 04:10:57 +0000 (04:10 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 10 Mar 2018 04:10:57 +0000 (04:10 +0000)
commit31456d77f2297ead57b4d90ad16a2c1cc0e5a5a6
treeaabe8c517a31f9cbd10056529e09cf28d1f0d384
parentef682ef63aa28f952c24d227762f2ac86fe4fb2b
MFC r329265, r329384

r329265:
Implement .vop_pathconf and .vop_getacl for the .zfs ctldir

zfsctl_common_pathconf will report all the same variables that regular ZFS
volumes report. zfsctl_common_getacl will report an ACL equivalent to 555,
except that you can't read xattrs or edit attributes.

Fixes a bug where "ls .zfs" will occasionally print something like:
ls: .zfs/.: Operation not supported

PR: 225793
Reviewed by: avg
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D14365

r329384:
Handle generic pathconf attributes in the .zfs ctldir

MFC instructions: change the value of _PC_LINK_MAX to INT_MAX

Reported by: jhb
X-MFC-With: 329265
Sponsored by: Spectra Logic Corp

git-svn-id: svn://svn.freebsd.org/base/stable/10@330736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c