mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
makes wsfs_status public (usable in provider example)
This commit is contained in:
@@ -62,6 +62,6 @@ void wsfsp_lookup_default(
|
||||
char const * WSFS_UNUSED_PARAM(name),
|
||||
void * WSFS_UNUSED_PARAM(user_data))
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ void wsfsp_open_default(
|
||||
int WSFS_UNUSED_PARAM(flags),
|
||||
void * WSFS_UNUSED_PARAM(user_data))
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
|
||||
void wsfsp_respond_open(
|
||||
|
||||
@@ -43,7 +43,7 @@ void wsfsp_read_default(
|
||||
size_t WSFS_UNUSED_PARAM(length),
|
||||
void * WSFS_UNUSED_PARAM(user_data))
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
|
||||
void wsfsp_respond_read(
|
||||
@@ -69,7 +69,7 @@ void wsfsp_respond_read(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -29,7 +29,7 @@ void wsfsp_readdir_default(
|
||||
ino_t WSFS_UNUSED_PARAM(directory),
|
||||
void * WSFS_UNUSED_PARAM(user_data))
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
|
||||
void wsfsp_respond_readdir(
|
||||
|
||||
Reference in New Issue
Block a user