Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13416 ldiskfs: don't corrupt data on journal replay
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_scrub.c
diff --git
a/lustre/osd-ldiskfs/osd_scrub.c
b/lustre/osd-ldiskfs/osd_scrub.c
index
7ad1f8d
..
5130fe7
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_scrub.c
+++ b/
lustre/osd-ldiskfs/osd_scrub.c
@@
-2601,6
+2601,7
@@
int osd_scrub_setup(const struct lu_env *env, struct osd_device *dev)
}
inode = file_inode(filp);
+ ldiskfs_set_inode_flag(inode, LDISKFS_INODE_JOURNAL_DATA);
if (!dev->od_dt_dev.dd_rdonly) {
/* 'What the @fid is' is not imporatant, because the object
* has no OI mapping, and only is visible inside the OSD.*/