diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-09 17:10:33 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-09 22:02:25 -0400 |
commit | 288359dba1417703c7eaf008f153339c6c321412 (patch) | |
tree | 5a1507fe45902a207640b956526ca31e5fa2fd6e /src/journal/journal-file.c | |
parent | b94da8cf72aa363582e0acae134d45c88d13bc75 (diff) |
journal: align comments to make them more legible
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r-- | src/journal/journal-file.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 0e33a0fd87..1e861d10a3 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -2795,14 +2795,15 @@ int journal_file_open_reliably( r = journal_file_open(fname, flags, mode, compress, seal, metrics, mmap_cache, template, ret); - if (r != -EBADMSG && /* corrupted */ - r != -ENODATA && /* truncated */ - r != -EHOSTDOWN && /* other machine */ - r != -EPROTONOSUPPORT && /* incompatible feature */ - r != -EBUSY && /* unclean shutdown */ - r != -ESHUTDOWN && /* already archived */ - r != -EIO && /* IO error, including SIGBUS on mmap */ - r != -EIDRM /* File has been deleted */) + if (!IN_SET(r, + -EBADMSG, /* corrupted */ + -ENODATA, /* truncated */ + -EHOSTDOWN, /* other machine */ + -EPROTONOSUPPORT, /* incompatible feature */ + -EBUSY, /* unclean shutdown */ + -ESHUTDOWN, /* already archived */ + -EIO, /* IO error, including SIGBUS on mmap */ + -EIDRM /* File has been deleted */)) return r; if ((flags & O_ACCMODE) == O_RDONLY) |