On Mon, Mar 02, 2015 at 03:58:48AM +0300, Ivan Shapovalov wrote: > On 2015-03-01 at 21:13 -0300, Cristian Rodríguez wrote: > > Logs constantly show > > > > systemd-journald[395]: Failed to set file attributes: Inappropriate > > ioctl for device > > > > This is because ext4 does not support FS_NOCOW_FL. > > --- > > src/journal/journal-file.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c > > index 9c9a548..ecabfd3 100644 > > --- a/src/journal/journal-file.c > > +++ b/src/journal/journal-file.c > > @@ -2610,7 +2610,8 @@ int journal_file_open( > > * checksumming). */ > > r = chattr_fd(f->fd, true, FS_NOCOW_FL); > > if (r < 0) > > - log_warning_errno(errno, "Failed to set file > > attributes: %m"); > > + if(r != -ENOTTY) > > Maybe it's better to just say if (r < 0 && r != -ENOTTY) here? > > Just nitpicking, Yeah, it is.
Applied, with the suggested change. Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel