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:
@@ -102,7 +102,7 @@ static void fs_lookup(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ static void fs_getattr(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ static void fs_readdir(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,12 +177,12 @@ static void fs_open(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOACCESS);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,12 +214,12 @@ static void fs_read(
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wsfsp_respond_error(request, -1);
|
||||
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user