summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-ref.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-05-04 19:16:06 (GMT)
committerChris Mason <chris.mason@oracle.com>2012-05-04 19:16:06 (GMT)
commit17de39ac17bf99b8bf0d819d13668d5048836efc (patch)
tree6afd6d7659ad9d4d46aecc24e359c026bae7c7f7 /fs/btrfs/delayed-ref.c
parente5846fc665d1c3dd32d877febe7402ccd583b8a1 (diff)
downloadlinux-fsl-qoriq-17de39ac17bf99b8bf0d819d13668d5048836efc.tar.xz
Btrfs: fix page leak when allocing extent buffers
If we happen to alloc a extent buffer and then alloc a page and notice that page is already attached to an extent buffer, we will only unlock it and free our existing eb. Any pages currently attached to that eb will be properly freed, but we don't do the page_cache_release() on the page where we noticed the other extent buffer which can cause us to leak pages and I hope cause the weird issues we've been seeing in this area. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.c')
0 files changed, 0 insertions, 0 deletions