chiark / gitweb /
journal: fix Inappropriate ioctl for device on ext4
authorCristian Rodríguez <crrodriguez@opensuse.org>
Mon, 2 Mar 2015 00:13:10 +0000 (21:13 -0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Mar 2015 15:54:19 +0000 (10:54 -0500)
commit65eae3b76243d2dfd869f8c43b787575f7b4b994
treeb24dedebccab504c0b6f04bd29b32809b7e392bc
parent09d801a82a46df518dd752e40bf13ac404daa2ce
journal: fix Inappropriate ioctl for device on ext4

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.

[zj: fold into one conditional as suggested on the ML and
     fix (preexisting) r/errno confusion in error message.]
src/journal/journal-file.c