mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Warning removal of unused definition of open_noatime().
This commit is contained in:
parent
dc3b03c4c4
commit
d63eae9f15
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@
|
|||
/**
|
||||
* Open a file with the O_NOATIME flag to avoid to update the acces time.
|
||||
*/
|
||||
static int open_noatime(const char* file, int flags)
|
||||
static inline int open_noatime(const char* file, int flags)
|
||||
{
|
||||
int f = open(file, flags | O_NOATIME);
|
||||
if (f == -1 && errno == EPERM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue