summaryrefslogtreecommitdiffstats
path: root/util/system/direct_io.h
diff options
context:
space:
mode:
authoreasergeev <[email protected]>2022-02-10 16:51:45 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:51:45 +0300
commit4596484b94e7bba39c8241e41e9c7f7b5665fdc5 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/direct_io.h
parent2db97242fffe2a2e7fcfb321249fbb3ade943210 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/direct_io.h')
-rw-r--r--util/system/direct_io.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/direct_io.h b/util/system/direct_io.h
index 9ddc6bc50a0..6a3325a9608 100644
--- a/util/system/direct_io.h
+++ b/util/system/direct_io.h
@@ -37,14 +37,14 @@ public:
return File.GetHandle();
}
- inline void FallocateNoResize(ui64 length) {
- File.FallocateNoResize(length);
- }
-
- inline void ShrinkToFit() {
- File.ShrinkToFit();
- }
-
+ inline void FallocateNoResize(ui64 length) {
+ File.FallocateNoResize(length);
+ }
+
+ inline void ShrinkToFit() {
+ File.ShrinkToFit();
+ }
+
private:
inline bool IsAligned(i64 value) {
return Alignment ? value == AlignDown<i64>(value, Alignment) : true;