commit | 0ed42a63f3edb144b091d9528401fce95c3c4d8d | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Mon Nov 22 18:55:39 2010 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Sat Nov 27 13:00:07 2010 -0500 |
tree | d98573473d916eecbeb949d45f8ac9b530440080 | |
parent | 55a61d1d06a3dc443d0db8aaa613365dcb83b98a [diff] |
Btrfs: make sure new inode size is ok in fallocate We have been failing xfstest 228 forever, because we don't check to make sure the new inode size is acceptable as far as RLIMIT is concerned. Just check to make sure it's ok to create a inode with this new size and error out if not. With this patch we now pass 228. Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>