Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d2ccaff
)
b=10555
author
kalpak
<kalpak>
Thu, 14 Aug 2008 17:51:16 +0000
(17:51 +0000)
committer
kalpak
<kalpak>
Thu, 14 Aug 2008 17:51:16 +0000
(17:51 +0000)
i=girish
In rhel4 filemap_write_and_wait() is not exported so use ext3_sync_file()
ldiskfs/kernel_patches/patches/ext3-fiemap-2.6-rhel4.patch
patch
|
blob
|
history
diff --git
a/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6-rhel4.patch
b/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6-rhel4.patch
index
3af3d6a
..
8f170f3
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/ext3-fiemap-2.6-rhel4.patch
+++ b/
ldiskfs/kernel_patches/patches/ext3-fiemap-2.6-rhel4.patch
@@
-152,7
+152,7
@@
Index: linux-2.6.9-67.0.22/fs/ext3/ioctl.c
+ return -EFAULT;
+
+ if (fieinfo.fi_flags & FIEMAP_FLAG_SYNC)
-+
filemap_write_and_wait(inode->i_mapping
);
++
ext3_sync_file(filp, filp->f_dentry, 1
);
+
+ error = ext3_fiemap(inode, &fieinfo, fiemap.fm_start, len);
+ fiemap.fm_flags = fieinfo.fi_flags;