[DFS] change the cmd to long data type.
This commit is contained in:
parent
b7cf723162
commit
bc0fbbfe82
|
@ -134,7 +134,7 @@ int unlink(const char *pathname);
|
||||||
int stat(const char *file, struct stat *buf);
|
int stat(const char *file, struct stat *buf);
|
||||||
int fstat(int fildes, struct stat *buf);
|
int fstat(int fildes, struct stat *buf);
|
||||||
int fsync(int fildes);
|
int fsync(int fildes);
|
||||||
int ioctl(int fildes, unsigned long cmd, void *data);
|
int ioctl(int fildes, long cmd, void *data);
|
||||||
|
|
||||||
/* directory api*/
|
/* directory api*/
|
||||||
int rmdir(const char *path);
|
int rmdir(const char *path);
|
||||||
|
|
|
@ -427,7 +427,7 @@ RTM_EXPORT(fsync);
|
||||||
* @return 0 on successful completion. Otherwise, -1 shall be returned and errno
|
* @return 0 on successful completion. Otherwise, -1 shall be returned and errno
|
||||||
* set to indicate the error.
|
* set to indicate the error.
|
||||||
*/
|
*/
|
||||||
int ioctl(int fildes, unsigned long cmd, void *data)
|
int ioctl(int fildes, long cmd, void *data)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct dfs_fd *d;
|
struct dfs_fd *d;
|
||||||
|
|
Loading…
Reference in New Issue