summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-06-11 11:24:47 -0400
committerChris Mason <chris.mason@oracle.com>2009-06-11 11:24:47 -0400
commitb263c2c8bf13c273485bd99dbbeba79c844409dd (patch)
tree8816eaabd20cfce5e37432ecf61cc8303863c48d /fs/btrfs/inode.c
parent0b4dcea579a1b6f4d249d61f5bc8adeaa7c895d8 (diff)
downloadop-kernel-dev-b263c2c8bf13c273485bd99dbbeba79c844409dd.zip
op-kernel-dev-b263c2c8bf13c273485bd99dbbeba79c844409dd.tar.gz
Btrfs: fix extent_buffer leak during tree log replay
During tree log replay, we read in the tree log roots, process them and then free them. A recent change takes an extra reference on the root node of the tree when the root is read in, and stores that reference in root->commit_root. This reference was not being freed, leaving us with one buffer pinned in ram for each subvol with a tree log root after a crash. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud