search for: vop_getattr

Displaying 4 results from an estimated 4 matches for "vop_getattr".

Did you mean: op_getattr
2008 Jun 18
4
getting inodeno for zfs from vnode in vfs kernel layer
...ode pointer gives me deadbeef(unitialized) , can somebody point me how to get that? i looked at zfs_getattr code and it does similar thing which i am doing but its able to get me inode no in getattribute structure(node id), that makes me thinking there is something more happening when i call vop_getattr on zfs rather than just calling zfs_getattr. ******************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others i...
2008 Jun 18
0
getting inode for zfs from vnode/vfs layer in kernel
...ode pointer gives me deadbeef(unitialized) , can somebody point me how to get that? i looked at zfs_getattr code and it does similar thing which i am doing but its able to get me inode no in getattribute structure(node id), that makes me thinking there is something more happening when i call vop_getattr on zfs rather than just calling zfs_getattr. ******************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others i...
1999 Sep 03
0
FreeBSD-SA-99:01: BSD File Flags and Programming Techniques
...diff -u -r1.51.2.7 -r1.51.2.8 --- vfs_syscalls.c 1998/07/03 03:50:31 1.51.2.7 +++ vfs_syscalls.c 1999/08/04 18:58:56 1.51.2.8 @@ -1439,6 +1439,17 @@ if (error) return (error); vp = nd.ni_vp; + if ((error = VOP_GETATTR(vp, &vattr, p->p_ucred, p))) + return (error); + /* + * Prevent non-root users from setting flags on devices. When + * a device is reused, users can retain ownership of the device + * if they are allowed to set flags and programs assume that...
2013 Jul 24
1
NFS deadlock on 9.2-Beta1
Two machines (NFS Server: running ZFS / Client: disk-less), both are running FreeBSD r253506. The NFS client starts to deadlock processes within a few hours. It usually gets worse from there on. The processes stay in "D" state. I haven't been able to reproduce it when I want it to happen. I only have to wait a few hours until the deadlocks occur when traffic to the client machine