From df9f1345ac5a7b42b211e4bb3bb0cf6b9e7ab8ab Mon Sep 17 00:00:00 2001 From: kalpak Date: Thu, 14 Aug 2008 17:51:16 +0000 Subject: [PATCH] b=10555 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 --- 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; -- 1.8.3.1