summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
commitf3627cbe9236a062012c836f3b6ee311b43f63f2 (patch)
treeae854838b9a73b35bd0f3b8f42e5fb7f9cb1d5a9 /mm/filemap.c
parentfea12a7b3f20bc135ab533491411e9ff753c01c8 (diff)
Merge with Linux 2.4.0-test5-pre4.
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 3b0078045..688682aad 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1744,9 +1744,7 @@ static int msync_interval(struct vm_area_struct * vma,
struct file * file = vma->vm_file;
if (file && file->f_op && file->f_op->fsync) {
down(&file->f_dentry->d_inode->i_sem);
- lock_kernel();
error = file->f_op->fsync(file, file->f_dentry, 1);
- unlock_kernel();
up(&file->f_dentry->d_inode->i_sem);
}
}