commit | 5d5e103a70f74ae98e3965a4add1ab951d0651d1 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Tue Oct 13 16:46:49 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Oct 14 10:32:47 2009 -0400 |
tree | 83b1cc73830f72f592aa804207a679912beef101 | |
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>