diff options
author | Josef Bacik <josef@redhat.com> | 2009-10-13 16:46:49 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-10-14 10:32:47 -0400 |
commit | 5d5e103a70f74ae98e3965a4add1ab951d0651d1 (patch) | |
tree | 83b1cc73830f72f592aa804207a679912beef101 /fs/omfs/bitmap.c | |
parent | 0eda294dfc980c1cbe4f8a0564bf543f86a01ddb (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 'fs/omfs/bitmap.c')
0 files changed, 0 insertions, 0 deletions