From f765b134c0d3f294f6084d3e0a11de184059a387 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 6 Apr 2015 20:50:38 -0400 Subject: [PATCH] new_sync_write(): discard ->ki_pos unless the return value is positive That allows ->write_iter() instances much more convenient life wrt iocb->ki_pos (and fixes several filesystems with borderline POSIX violations when zero-length write succeeds and changes the current position). Signed-off-by: Al Viro --- Reading git-format-patch failed