Преглед на файлове

Reverting linux/kernel/api/vfs_fallocate

tjbbmgdc преди 6 години
родител
ревизия
f6b3a3fdd5
променени са 1 файла, в които са добавени 3 реда и са изтрити 12 реда
  1. 3 12
      linux/kernel/api/vfs_fallocate.md

+ 3 - 12
linux/kernel/api/vfs_fallocate.md

@@ -1,16 +1,11 @@
-I don't know if this correct or not, but here a manpage ugly draft:
+I don't know if this correct or not, but:
 
-#### SYNOPSIS
 ```
-int vfs_fallocate ( struct file *file, int mode, off_t offset, off_t len )
+vfs_fallocate ( struct file *file, int mode, off_t offset, off_t len )
 ```
 
-#### DESCRIPTION
-
 Read `man 2 fallocate`.
 
-#### EXAMPLES
-
 A wrapper example:
 ```
 int file_allocate ( struct file *file, int mode, off_t offset, off_t len )
@@ -26,8 +21,4 @@ int file_allocate ( struct file *file, int mode, off_t offset, off_t len )
 
   return error;
 }
-```
-
-#### RETURN VALUE
-
-On success, `vfs_allocate()` resturns zero, otherwise non-zero.
+```