patch-2.4.0-test5 linux/mm/filemap.c
Next file: linux/mm/highmem.c
Previous file: linux/kernel/timer.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jul 20 09:55:04 2000
- Orig file:
v2.4.0-test4/linux/mm/filemap.c
- Orig date:
Mon Jul 10 16:47:27 2000
diff -u --recursive --new-file v2.4.0-test4/linux/mm/filemap.c linux/mm/filemap.c
@@ -1744,9 +1744,7 @@
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);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)