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:
1e1a3d0
)
[GFS2] Don't mark jdata dirty in gfs2_unstuffer_page()
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 27 Aug 2007 08:49:37 +0000
(09:49 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 10 Oct 2007 07:55:58 +0000
(08:55 +0100)
Journaled data is marked dirty by gfs2_unpin and should not be marked
dirty here.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/bmap.c
b/fs/gfs2/bmap.c
index 9b8990444e6cf9e6ec737fe2738ac4fde639ae39..1e56f4de7358957eb2dcf888613fbaab6a403455 100644
(file)
--- a/
fs/gfs2/bmap.c
+++ b/
fs/gfs2/bmap.c
@@
-95,7
+95,8
@@
static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
set_buffer_uptodate(bh);
if (sdp->sd_args.ar_data == GFS2_DATA_ORDERED || gfs2_is_jdata(ip))
gfs2_trans_add_bh(ip->i_gl, bh, 0);
- mark_buffer_dirty(bh);
+ if (!gfs2_is_jdata(ip))
+ mark_buffer_dirty(bh);
if (release) {
unlock_page(page);