• J
    Btrfs: fix data space leak fix · fbf19087
    Josef Bacik 提交于
    There is a problem where page_mkwrite can be called on a dirtied page that
    already has a delalloc range associated with it.  The fix is to clear any
    delalloc bits for the range we are dirtying so the space accounting gets
    handled properly.  This is the same thing we do in the normal write case, so we
    are consistent across the board.  With this patch we no longer leak reserved
    space.
    Signed-off-by: NJosef Bacik <jbacik@redhat.com>
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    fbf19087
inode.c 155.3 KB