|
@@ -166,7 +166,7 @@ static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
|
|
static struct dentry *btrfs_get_parent(struct dentry *child)
|
|
static struct dentry *btrfs_get_parent(struct dentry *child)
|
|
{
|
|
{
|
|
struct inode *dir = child->d_inode;
|
|
struct inode *dir = child->d_inode;
|
|
- static struct dentry *dentry;
|
|
|
|
|
|
+ struct dentry *dentry;
|
|
struct btrfs_root *root = BTRFS_I(dir)->root;
|
|
struct btrfs_root *root = BTRFS_I(dir)->root;
|
|
struct btrfs_path *path;
|
|
struct btrfs_path *path;
|
|
struct extent_buffer *leaf;
|
|
struct extent_buffer *leaf;
|