All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Question about commit cf1b5ea1c5cd
@ 2015-04-14  3:06 Joseph Qi
  2015-04-14  3:40 ` Al Viro
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Qi @ 2015-04-14  3:06 UTC (permalink / raw)
  To: ocfs2-devel

Hi Viro,
I have questions about your commit cf1b5ea1c5cd
("[regression] ocfs2: do *not* increment ->ki_pos twice").
Yes, ->ki_pos is increased in generic_file_direct_write(). But
*ppos doesn't. So I increase it here for further use in
generic_perform_write.
After this, ->ki_pos and *ppos are equal. Then after buffer write, I
only get written_buffered increased into ->ki_pos, so ->ki_pos is *not*
increased twice.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-14  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14  3:06 [Ocfs2-devel] Question about commit cf1b5ea1c5cd Joseph Qi
2015-04-14  3:40 ` Al Viro
2015-04-14  3:52   ` Joseph Qi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.