On Fri, 12 Aug 2011, Niko Tyni wrote: > However, are sync_file_range() and fsync() effective with an O_RDONLY > file descriptor? From fsync(2): > > EBADF fd is not a valid file descriptor open for writing. > > but https://bugzilla.kernel.org/show_bug.cgi?id=29972 suggests this is > misleading...
I also asked the question on -devel while discussing with Theodore Y. Ts'o and IIRC he said so as well. It should not be a problem. Guillem, any objection to the patch? It seems ok for merge. Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

