projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28626e2
)
[GFS2] mark_inode_dirty after write to stuffed file
author
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 22 Nov 2006 16:28:47 +0000
(11:28 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 30 Nov 2006 15:36:36 +0000
(10:36 -0500)
Writes to stuffed files were not being marked dirty correctly.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_address.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/ops_address.c
b/fs/gfs2/ops_address.c
index 8676c39d0d73de7bd13ddbd5d76c587379e9bbf7..d8d69a72a10dd819bfcdbe6a736009bda5a92e27 100644
(file)
--- a/
fs/gfs2/ops_address.c
+++ b/
fs/gfs2/ops_address.c
@@
-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))