Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/include
In directory usw-pr-cvs1:/tmp/cvs-serv29232/include
Modified Files:
disk_io.h
Log Message:
Inconsisteny fixes.
Index: disk_io.h
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/disk_io.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** disk_io.h 2001/01/25 22:25:43 1.3
--- disk_io.h 2001/01/26 00:34:35 1.4
***************
*** 39,43 ****
* On success return bytes written (0 means nothing written).
* On error return -1 with errno set appropriately to the return code of
! * either lseek, malloc, write or fdatasync.
*/
__u64 ntfs_pwrite(int fd, const void *b, __u64 count, const __u64 pos);
--- 39,43 ----
* On success return bytes written (0 means nothing written).
* On error return -1 with errno set appropriately to the return code of
! * either lseek, malloc, write or fdatasync. Or errno is EINVAL if b is null.
*/
__u64 ntfs_pwrite(int fd, const void *b, __u64 count, const __u64 pos);
***************
*** 55,59 ****
* On success return bytes written (0 means nothing written).
* On error return -1 with errno set appropriately to the return code of
! * either lseek, malloc, write or fdatasync.
*/
__u64 mst_pwrite(int fd, const void *b, __u64 count, const __u64 pos);
--- 55,59 ----
* On success return bytes written (0 means nothing written).
* On error return -1 with errno set appropriately to the return code of
! * either lseek, malloc, write or fdatasync. Or errno is EINVAL if b is null.
*/
__u64 mst_pwrite(int fd, const void *b, __u64 count, const __u64 pos);
***************
*** 80,84 ****
* read some blocks successfully (this is subject to change!!!).
*/
! ssize_t ntfs_pread(int fd, void *b, size_t bksize, size_t count, off_t pos);
/**
--- 80,85 ----
* read some blocks successfully (this is subject to change!!!).
*/
! __u64 ntfs_pread(const int fd, void *b, const __u32 bksize, __u64 count,
! const __u64 pos);
/**
***************
*** 111,115 ****
* read some blocks successfully (this is subject to change!!!).
*/
! ssize_t mst_pread(int fd, void *b, size_t bksize, size_t count, off_t pos);
/**
--- 112,117 ----
* read some blocks successfully (this is subject to change!!!).
*/
! __u64 mst_pread(const int fd, void *b, const __u32 bksize, __u64 count,
! const __u64 pos);
/**
***************
*** 128,132 ****
* is performed for this!
*/
! int get_clusters(ntfs_volume *vol, __u8 *buf, __s64 lcn, int count);
/**
--- 130,135 ----
* is performed for this!
*/
! int get_clusters(const ntfs_volume *vol, __u8 *buf, const __s64 lcn,
! const int count);
/**
***************
*** 142,146 ****
* caller really only needs to check for sucess / failure.
*/
! int put_clusters(ntfs_volume *vol, const __u8 *buf, __s64 lcn, int count);
/**
--- 145,149 ----
* caller really only needs to check for sucess / failure.
*/
! int put_clusters(ntfs_volume *vol, const __u8 *buf, const __s64 lcn, int count);
/**
***************
*** 158,162 ****
* NOTE: @buf has to be at least of size @count * vol->MftRecordSize.
*/
! int get_mft_records(ntfs_volume *vol, __u8 *buf, __s64 mftrec, int count);
/**
--- 161,166 ----
* NOTE: @buf has to be at least of size @count * vol->MftRecordSize.
*/
! int get_mft_records(const ntfs_volume *vol, __u8 *buf, const __s64 mftrec,
! const int count);
/**
***************
*** 171,175 ****
* / failure.
*/
! int put_mft_record(ntfs_volume *vol, const __u8 *buf, __s64 mftrec);
--- 175,179 ----
* / failure.
*/
! int put_mft_record(ntfs_volume *vol, const __u8 *buf, const __s64 mftrec);
|