patch-2.3.39 linux/drivers/block/nbd.c
Next file: linux/drivers/block/paride/pd.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jan 8 17:41:16 2000
- Orig file:
v2.3.38/linux/drivers/block/nbd.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/block/nbd.c linux/drivers/block/nbd.c
@@ -435,8 +435,6 @@
dev = MINOR(inode->i_rdev);
if (dev >= MAX_NBD)
return -ENODEV;
- fsync_dev(inode->i_rdev);
- invalidate_buffers(inode->i_rdev);
lo = &nbd_dev[dev];
if (lo->refcnt <= 0)
printk(KERN_ALERT "nbd_release: refcount(%d) <= 0\n", lo->refcnt);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)