tmpfiles: move full chattr flag set to chattr-util.h
It's a pretty generic concept and fits will there, hence let's move it.
This commit is contained in:
@@ -15,6 +15,23 @@
|
||||
FS_NOCOMP_FL | \
|
||||
FS_PROJINHERIT_FL)
|
||||
|
||||
#define CHATTR_ALL_FL \
|
||||
(FS_NOATIME_FL | \
|
||||
FS_SYNC_FL | \
|
||||
FS_DIRSYNC_FL | \
|
||||
FS_APPEND_FL | \
|
||||
FS_COMPR_FL | \
|
||||
FS_NODUMP_FL | \
|
||||
FS_EXTENT_FL | \
|
||||
FS_IMMUTABLE_FL | \
|
||||
FS_JOURNAL_DATA_FL | \
|
||||
FS_SECRM_FL | \
|
||||
FS_UNRM_FL | \
|
||||
FS_NOTAIL_FL | \
|
||||
FS_TOPDIR_FL | \
|
||||
FS_NOCOW_FL | \
|
||||
FS_PROJINHERIT_FL)
|
||||
|
||||
int chattr_fd(int fd, unsigned value, unsigned mask, unsigned *previous);
|
||||
int chattr_path(const char *p, unsigned value, unsigned mask, unsigned *previous);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user