projects/linux·commit 3cb50ddf

Fix btrfs b0rkage

3cb50ddf · Al Viro <[email protected]> · 2010-12-20 15:53:18 +00:00

Buggered-in: 76dda93c6ae2 ("Btrfs: add snapshot/subvolume destroy
ioctl")

Signed-off-by: Al Viro <[email protected]>
Acked-by: Chris Mason <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
3cb50ddf97a0a1ca4c68bc12fa1e727a6b45fbf2
Parents
b8da46d3

Changes

1 files changed · +1 −1

FileStatusAddDelContent
fs/btrfs/export.cmodified+1−1View file

fs/btrfs/export.c

View file
diff --git a/fs/btrfs/export.c b/fs/btrfs/export.c
index 6f04444..659f532 100644
--- a/fs/btrfs/export.c
+++ b/fs/btrfs/export.c
@@ -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;