projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[BTRFS] Upgrade to 1.0.2
[reactos.git]
/
drivers
/
filesystems
/
btrfs
/
fileinfo.c
diff --git
a/drivers/filesystems/btrfs/fileinfo.c
b/drivers/filesystems/btrfs/fileinfo.c
index
9f73667
..
9588ea1
100644
(file)
--- a/
drivers/filesystems/btrfs/fileinfo.c
+++ b/
drivers/filesystems/btrfs/fileinfo.c
@@
-2064,6
+2064,9
@@
static NTSTATUS set_end_of_file_information(device_extension* Vcb, PIRP Irp, PFI
ERR("error - extend_file failed\n");
goto end;
}
+ } else if ((UINT64)feofi->EndOfFile.QuadPart == fcb->inode_item.st_size && advance_only) {
+ Status = STATUS_SUCCESS;
+ goto end;
}
ccfs.AllocationSize = fcb->Header.AllocationSize;