patch-2.4.21 linux-2.4.21/fs/block_dev.c
Next file: linux-2.4.21/fs/buffer.c
Previous file: linux-2.4.21/fs/befs/super.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:37.000000000 -0700
- Orig file:
linux-2.4.20/fs/block_dev.c
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.20/fs/block_dev.c linux-2.4.21/fs/block_dev.c
@@ -631,7 +631,7 @@
down(&bdev->bd_sem);
lock_kernel();
- if (kind == BDEV_FILE && bdev->bd_openers == 1)
+ if (kind == BDEV_FILE)
__block_fsync(bd_inode);
else if (kind == BDEV_FS)
fsync_no_super(rdev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)