summaryrefslogtreecommitdiffstats
path: root/fs/smbfs
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2009-10-01 23:10:23 +0200
committerChris Mason <chris.mason@oracle.com>2009-10-01 23:10:23 +0200
commitfbf190874407f23d2891b53ffdf7d3c6be8d47ff (patch)
treec60ab388e2b19b02fd3bbcef76498a3520f9dcbd /fs/smbfs
parentBtrfs: take i_mutex before generic_write_checks (diff)
downloadlinux-fbf190874407f23d2891b53ffdf7d3c6be8d47ff.tar.xz
linux-fbf190874407f23d2891b53ffdf7d3c6be8d47ff.zip
Btrfs: fix data space leak fix
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: Josef Bacik <jbacik@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/smbfs')
0 files changed, 0 insertions, 0 deletions