yaffs direct: Fix yaffs direct offset handling for pwrite
authorCharles Manning <cdhmanning@gmail.com>
Thu, 24 Jun 2010 21:45:43 +0000 (09:45 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 24 Jun 2010 21:45:43 +0000 (09:45 +1200)
commit35251e467a7817c6b991d88797891b4b1c191d5f
treef71f24994f208db44f50c119c7848f4d74235a50
parent428ff5aa8d7033446d242f814ee4e7344959917a
yaffs direct: Fix yaffs direct offset handling for pwrite

Note that if the handle is opened with O_APPEND then the pwrite() offset
is ignored and the write appends.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffsfs.c