]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: honor O_(D)SYNC flag in fallocate
authorMark Fasheh <mfasheh@suse.de>
Wed, 16 Nov 2011 20:03:10 +0000 (12:03 -0800)
committerXiaowei.Hu <xiaowei.hu@oracle.com>
Wed, 29 Aug 2012 06:09:12 +0000 (14:09 +0800)
commit7c06de7585186ed963f5d045d589782ffb63be54
tree74a4e0dfbf916027693b52d2a53886c0f05778f5
parentcf5f6b24eee9ab90fd1649208d98bd69f76c1d73
ocfs2: honor O_(D)SYNC flag in fallocate

We need to sync the transaction which updates i_size if the file is marked
as needing sync semantics.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
(cherry picked from commit df295d4a4b3c98af1a2445a82aef169e7e5d96b8)

Signed-off-by: Xiaowei.Hu <xiaowei.hu@oracle.com>
fs/ocfs2/file.c