summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 8510f2bb9309..f96f5f48bd13 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -246,22 +246,6 @@ int fsync_bdev(struct block_device *bdev)
}
/*
- * Write out and wait upon all dirty data associated with this
- * kdev_t. Filesystem data as well as the underlying block
- * device. Takes the superblock lock.
- */
-int fsync_dev(kdev_t dev)
-{
- struct block_device *bdev = bdget(kdev_t_to_nr(dev));
- if (bdev) {
- int res = fsync_bdev(bdev);
- bdput(bdev);
- return res;
- }
- return 0;
-}
-
-/*
* sync everything.
*/
asmlinkage long sys_sync(void)