aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2010-07-17 21:45:49 +0800
committerTao Ma <tao.ma@oracle.com>2010-09-08 14:25:55 +0800
commitf63afdb2c32db850fa1bfccf84643a8885cbeb61 (patch)
tree051bd8feb6eeb546d562e325157526dbc1018e49 /fs/ocfs2/file.c
parentf5ce5a08a40f2086435858ddc80cb40394b082eb (diff)
downloadkernel_samsung_tuna-f63afdb2c32db850fa1bfccf84643a8885cbeb61.zip
kernel_samsung_tuna-f63afdb2c32db850fa1bfccf84643a8885cbeb61.tar.gz
kernel_samsung_tuna-f63afdb2c32db850fa1bfccf84643a8885cbeb61.tar.bz2
ocfs2: make __ocfs2_page_mkwrite handle file end properly.
__ocfs2_page_mkwrite now is broken in handling file end. 1. the last page should be the page contains i_size - 1. 2. the len in the last page is also calculated wrong. So change them accordingly. Acked-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
0 files changed, 0 insertions, 0 deletions