aboutsummaryrefslogtreecommitdiff
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2009-10-13 16:46:49 -0400
committerChris Mason <chris.mason@oracle.com>2009-10-14 10:32:47 -0400
commit5d5e103a70f74ae98e3965a4add1ab951d0651d1 (patch)
tree83b1cc73830f72f592aa804207a679912beef101 /mm/shmem.c
parent0eda294dfc980c1cbe4f8a0564bf543f86a01ddb (diff)
Btrfs: fix possible ENOSPC problems with truncate
There's a problem where we don't do any space reservation for truncates, which can cause you to OOPs because you will be allowed to go off in the weeds a bit since we don't account for the delalloc bytes that are created as a result of the truncate. Signed-off-by: Josef Bacik <jbacik@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions