mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Move everything to negative errno return types (#1499)
This commit is contained in:
parent
2b500f194a
commit
e8cd74cab0
177 changed files with 5952 additions and 5843 deletions
|
|
@ -14,31 +14,27 @@
|
|||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "fuse_releasedir.hpp"
|
||||
|
||||
#include "config.hpp"
|
||||
#include "dirinfo.hpp"
|
||||
|
||||
#include "fuse.h"
|
||||
|
||||
|
||||
namespace l
|
||||
static
|
||||
int
|
||||
_releasedir(DirInfo *di_)
|
||||
{
|
||||
static
|
||||
int
|
||||
releasedir(DirInfo *di_)
|
||||
{
|
||||
delete di_;
|
||||
delete di_;
|
||||
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
namespace FUSE
|
||||
int
|
||||
FUSE::releasedir(const fuse_file_info_t *ffi_)
|
||||
{
|
||||
int
|
||||
releasedir(const fuse_file_info_t *ffi_)
|
||||
{
|
||||
DirInfo *di = reinterpret_cast<DirInfo*>(ffi_->fh);
|
||||
DirInfo *di = reinterpret_cast<DirInfo*>(ffi_->fh);
|
||||
|
||||
return l::releasedir(di);
|
||||
}
|
||||
return ::_releasedir(di);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue