summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.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 /fs/char_dev.c
parent0eda294dfc980c1cbe4f8a0564bf543f86a01ddb (diff)
downloadop-kernel-dev-5d5e103a70f74ae98e3965a4add1ab951d0651d1.zip
op-kernel-dev-5d5e103a70f74ae98e3965a4add1ab951d0651d1.tar.gz
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 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud