chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsck: be verbose when skipping fsck due to missing AC
[elogind.git]
/
src
/
util.c
diff --git
a/src/util.c
b/src/util.c
index 434f311e71f9cdbbdafe85229fdeb653f0b22965..58f67b0d15b86b860ca2bb9bbe08ac8d40541b53 100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-1681,6
+1681,8
@@
bool ignore_file(const char *filename) {
return
filename[0] == '.' ||
streq(filename, "lost+found") ||
return
filename[0] == '.' ||
streq(filename, "lost+found") ||
+ streq(filename, "aquota.user") ||
+ streq(filename, "aquota.group") ||
endswith(filename, "~") ||
endswith(filename, ".rpmnew") ||
endswith(filename, ".rpmsave") ||
endswith(filename, "~") ||
endswith(filename, ".rpmnew") ||
endswith(filename, ".rpmsave") ||
@@
-3333,6
+3335,10
@@
bool null_or_empty(struct stat *st) {
return false;
}
return false;
}
+DIR *xopendirat(int fd, const char *name) {
+ return fdopendir(openat(fd, name, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC));
+}
+
static const char *const ioprio_class_table[] = {
[IOPRIO_CLASS_NONE] = "none",
[IOPRIO_CLASS_RT] = "realtime",
static const char *const ioprio_class_table[] = {
[IOPRIO_CLASS_NONE] = "none",
[IOPRIO_CLASS_RT] = "realtime",