Commit ae619320 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] mark_inode_dirty after write to stuffed file



Writes to stuffed files were not being marked dirty correctly.
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 28626e20
......@@ -472,8 +472,10 @@ static int gfs2_commit_write(struct file *file, struct page *page,
SetPageUptodate(page);
if (inode->i_size < file_size)
if (inode->i_size < file_size) {
i_size_write(inode, file_size);
mark_inode_dirty(inode);
}
} else {
if (sdp->sd_args.ar_data == GFS2_DATA_ORDERED ||
gfs2_is_jdata(ip))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment