mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 15:36:31 -05:00
general code cleanup
This commit is contained in:
parent
5a1a60742e
commit
9d9ee7b71d
178 changed files with 5100 additions and 5255 deletions
|
|
@ -18,21 +18,21 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "errno.hpp"
|
||||
#include "xattr.hpp"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace fs
|
||||
{
|
||||
static
|
||||
inline
|
||||
int
|
||||
lremovexattr(const std::string &path,
|
||||
const char *attrname)
|
||||
lremovexattr(const std::string &path_,
|
||||
const char *attrname_)
|
||||
{
|
||||
#ifdef USE_XATTR
|
||||
return ::lremovexattr(path.c_str(),attrname);
|
||||
return ::lremovexattr(path_.c_str(),attrname_);
|
||||
#else
|
||||
return (errno=ENOTSUP,-1);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue