Lines Matching refs:xaroot
122 struct dentry *xaroot; in open_xa_root() local
129 xaroot = dget(REISERFS_SB(sb)->xattr_root); in open_xa_root()
130 if (!xaroot) in open_xa_root()
131 xaroot = ERR_PTR(-EOPNOTSUPP); in open_xa_root()
132 else if (d_really_is_negative(xaroot)) { in open_xa_root()
136 err = xattr_mkdir(d_inode(privroot), xaroot, 0700); in open_xa_root()
138 dput(xaroot); in open_xa_root()
139 xaroot = ERR_PTR(err); in open_xa_root()
144 return xaroot; in open_xa_root()
149 struct dentry *xaroot, *xadir; in open_xa_dir() local
152 xaroot = open_xa_root(inode->i_sb, flags); in open_xa_dir()
153 if (IS_ERR(xaroot)) in open_xa_dir()
154 return xaroot; in open_xa_dir()
160 inode_lock_nested(d_inode(xaroot), I_MUTEX_XATTR); in open_xa_dir()
162 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir()
167 err = xattr_mkdir(d_inode(xaroot), xadir, 0700); in open_xa_dir()
174 inode_unlock(d_inode(xaroot)); in open_xa_dir()
175 dput(xaroot); in open_xa_dir()