• Alexander Viro's avatar
    [PATCH] (1/7) kdev_t removals · 7155112c
    Alexander Viro authored
    * new function - fsync_bdev() (analog of fsync_dev(), but takes
      struct block_device * instead of kdev_t.  Callers of fsync_dev()
      that have struct block_device in question are using fsync_bdev()
      now.
    * old code for fsync_dev(NODEV) had been moved to sys_sync().
      Other callers of fsync_dev(NODEV) are calling sys_sync() now.
    * fsync_dev() became a wrapper fro fsync_bdev().
    * sync_dev() (not used anywhere in the tree) is gone.
    * i2oblock.c had fsync_dev() called in ->release().  Removed.
    * s390/block/xparm.c was doing fsync_dev() on its devices in
      cleanup_module().  Removed.
    7155112c
xpram.c 39.6 KB