]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: clear unaligned io flag when dio fails
authorJunxiao Bi <junxiao.bi@oracle.com>
Thu, 31 May 2012 01:57:17 +0000 (09:57 +0800)
committerJunxiao Bi <junxiao.bi@oracle.com>
Thu, 31 May 2012 06:50:45 +0000 (14:50 +0800)
commit3453207bc0c692ea9d62d7185a8b841ab4fd3239
tree08468ea318b67a7771870b498c6d649639ffba1d
parentbebc1b8559d2916b4c5b0e9c4d41c0c73e3a30e6
ocfs2: clear unaligned io flag when dio fails

Orabug: 14063941

The unaligned io flag is set in the kiocb when an unaligned
dio is issued, it should be cleared even when the dio fails,
or it may affect the following io which are using the same
kiocb.

Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
fs/ocfs2/file.c