diff options
-rw-r--r-- | module/zfs/zfs_ctldir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index 0c90532c1..3b5fb196f 100644 --- a/module/zfs/zfs_ctldir.c +++ b/module/zfs/zfs_ctldir.c @@ -492,6 +492,9 @@ zfsctl_inode_alloc(zfsvfs_t *zfsvfs, uint64_t id, ip->i_ctime = now; ip->i_fop = fops; ip->i_op = ops; +#if defined(IOP_XATTR) + ip->i_opflags &= ~IOP_XATTR; +#endif if (insert_inode_locked(ip)) { unlock_new_inode(ip); |