search for: zfs_vfsops

Displaying 5 results from an estimated 5 matches for "zfs_vfsops".

2007 Sep 03
1
Code/comment mismatch in delegated administration code.
...n write to the directory. Or does "has sufficient privileges" means that he has PRIV_FILE_OWNER privilege? IMHO if either of those two (is the owner or can write) is true, we should allow the mount. Am I right? If I am right, the patch below implements my thinking. --- uts/common/fs/zfs/zfs_vfsops.c +++ uts/common/fs/zfs/zfs_vfsops.c @@ -608,11 +608,9 @@ goto out; } - if (error = secpolicy_vnode_owner(cr, vattr.va_uid)) { - goto out; - } - - if (error = VOP_ACCESS(mvp, VWRITE, cr, td)) { + if (secpolicy_vnode_owner(cr, vattr.va_uid) != 0 && + VOP_ACCESS(mvp,...
2007 Feb 14
5
Need help making lsof work with ZFS
I contacted the author of ''lsof'' regarding the missing ZFS support. The command works but fails to display any files that are opened by the process in a ZFS filesystem. He indicates that the required ZFS kernel structure definitions (header files) are not shipped with the OS. He further indicated that he rummaged through the OpenSolaris source tree and the files doesn''t
2007 May 09
5
Refactor zfs_zget()
Hi, Since almost all operations in the FUSE low-level API identify files by inode number, I''ve been using zfs_zget() to get the corresponding znode/vnode in order to call the corresponding VFS function in zfs_vnops.c. However, there are some cases when zfs_zget() behaves slightly different than I need: 1) If zp->z_unlinked != 0 then zfs_zget() returns ENOENT. I need it to return
2008 Jul 25
0
resynv onnv-gate
...l_pool.c usr/src/uts/common/fs/zfs/dsl_scrub.c usr/src/uts/common/fs/zfs/spa.c usr/src/uts/common/fs/zfs/sys/dsl_pool.h usr/src/uts/common/fs/zfs/sys/spa.h usr/src/uts/common/fs/zfs/sys/zio.h usr/src/uts/common/fs/zfs/zfs_acl.c usr/src/uts/common/fs/zfs/zfs_ioctl.c usr/src/uts/common/fs/zfs/zfs_vfsops.c usr/src/uts/common/fs/zfs/zil.c usr/src/uts/common/fs/zfs/zio.c usr/src/uts/common/inet/ipf/fil.c usr/src/uts/common/inet/ipf/ip_compat.c usr/src/uts/common/inet/ipf/ip_fil_solaris.c usr/src/uts/common/inet/ipf/ip_nat.c usr/src/uts/common/inet/ipf/ip_nat6.c usr/src/uts/common/inet/ipf/ipf...
2013 Nov 25
7
[releng_8 tinderbox] failure on i386/i386
...-Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -include /src/sys/modules/zfs/../../cddl/compat/opensolaris/sys/debug_compat.h -c /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c cc -O2 -pipe -DFREEBSD_NAMECACHE -DBUILDING_ZFS -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/src/sys/modules/zfs/../../cddl/compat/opensolaris -I/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/com...