Whamcloud - gitweb
Branch HEAD
authorzam <zam>
Tue, 7 Apr 2009 06:39:30 +0000 (06:39 +0000)
committerzam <zam>
Tue, 7 Apr 2009 06:39:30 +0000 (06:39 +0000)
commit488f93f92541e07d269c7e3d94905f96e9cd0609
tree32e5e766ce3500c659d6d1052afcfaced9aa7951
parent96360e631635e82fe469d2cba3128310a5c41110
Branch HEAD
b=18988
i=alexey.lyashkov
i=jinshan.xiong
i=adilger

If append write, vvp_io_write_start sets pos to the end of the file and
doesn't touch kiocb->ki_pos, it triggers BUG_ON(iocb->ki_pos != pos) in Linux
kernel code.  This patch adds missing ki_pos adjustment.
lustre/llite/vvp_io.c