Lines Matching refs:xaroot
123 struct dentry *xaroot; in open_xa_root() local
130 xaroot = dget(REISERFS_SB(sb)->xattr_root); in open_xa_root()
131 if (!xaroot) in open_xa_root()
132 xaroot = ERR_PTR(-EOPNOTSUPP); in open_xa_root()
133 else if (d_really_is_negative(xaroot)) { in open_xa_root()
137 err = xattr_mkdir(d_inode(privroot), xaroot, 0700); in open_xa_root()
139 dput(xaroot); in open_xa_root()
140 xaroot = ERR_PTR(err); in open_xa_root()
145 return xaroot; in open_xa_root()
150 struct dentry *xaroot, *xadir; in open_xa_dir() local
153 xaroot = open_xa_root(inode->i_sb, flags); in open_xa_dir()
154 if (IS_ERR(xaroot)) in open_xa_dir()
155 return xaroot; in open_xa_dir()
161 inode_lock_nested(d_inode(xaroot), I_MUTEX_XATTR); in open_xa_dir()
163 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir()
168 err = xattr_mkdir(d_inode(xaroot), xadir, 0700); in open_xa_dir()
175 inode_unlock(d_inode(xaroot)); in open_xa_dir()
176 dput(xaroot); in open_xa_dir()