Fix btrfs b0rkage
authorAl Viro <viro@ZenIV.linux.org.uk>
Mon, 20 Dec 2010 15:53:18 +0000 (15:53 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Dec 2010 17:09:57 +0000 (09:09 -0800)
Buggered-in: 76dda93c6ae2 ("Btrfs: add snapshot/subvolume destroy
ioctl")

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/btrfs/export.c

index 6f0444473594a05df9b08b532c0d9e40f62bdca7..659f532d26a01f6b3b1da403a3834ba116d20bdd 100644 (file)
@@ -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)
 {
        struct inode *dir = child->d_inode;
-       static struct dentry *dentry;
+       struct dentry *dentry;
        struct btrfs_root *root = BTRFS_I(dir)->root;
        struct btrfs_path *path;
        struct extent_buffer *leaf;