[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150405181145.GJ889@ZenIV.linux.org.uk>
Date: Sun, 5 Apr 2015 19:11:45 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 02/16] vfs: check kiocb->ki_flags instead filp->fl_flags
On Sun, Apr 05, 2015 at 02:03:22PM +0300, Dmitry Monakhov wrote:
> I'm not sure I have get your point about ocfs2 because it does
> iov_iter_truncate() right after generic_write_checks()
This
ret = ocfs2_prepare_inode_for_write(file, ppos, count, appending,
&can_do_direct, &has_refcount);
being done before generic_write_checks(). It actually duplicates some
parts of generic_write_checks() inside (O_APPEND-related, and AFAICS
they _are_ triggered twice that way).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists