diff options
author | Brian Behlendorf <[email protected]> | 2011-02-08 11:29:50 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-10 09:27:21 -0800 |
commit | 3c4988c83e4f278cd6c8076f6cdb8e4858d05840 (patch) | |
tree | 90340c0bc67bd8634affdf9d7d29c59837e640e6 /include/sys/zfs_znode.h | |
parent | 3558fd73b5d863304102f6745c26e0b592aca60a (diff) |
Add zp->z_is_zvol flag
A new flag is required for the zfs_rlock code to determine if
it is operation of the zvol of zpl dataset. This used to be
keyed off the zp->z_vnode, which was a hack to begin with, but
with the removal of vnodes we needed a dedicated flag.
Diffstat (limited to 'include/sys/zfs_znode.h')
-rw-r--r-- | include/sys/zfs_znode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zfs_znode.h b/include/sys/zfs_znode.h index 2f25cc7fe..53bd18109 100644 --- a/include/sys/zfs_znode.h +++ b/include/sys/zfs_znode.h @@ -209,7 +209,7 @@ typedef struct znode { list_node_t z_link_node; /* all znodes in fs link */ sa_handle_t *z_sa_hdl; /* handle to sa data */ boolean_t z_is_sa; /* are we native sa? */ - void (*z_set_ops_inode) (struct inode *); /* set inode ops */ + boolean_t z_is_zvol; /* are we used by the zvol */ struct inode z_inode; /* generic vfs inode */ } znode_t; |