|
@@ -404,7 +404,7 @@ static loff_t block_llseek(struct file *file, loff_t offset, int origin)
|
|
* NULL first argument is nfsd_sync_dir() and that's not a directory.
|
|
* NULL first argument is nfsd_sync_dir() and that's not a directory.
|
|
*/
|
|
*/
|
|
|
|
|
|
-static int block_fsync(struct file *filp, struct dentry *dentry, int datasync)
|
|
|
|
|
|
+int block_fsync(struct file *filp, struct dentry *dentry, int datasync)
|
|
{
|
|
{
|
|
struct block_device *bdev = I_BDEV(filp->f_mapping->host);
|
|
struct block_device *bdev = I_BDEV(filp->f_mapping->host);
|
|
int error;
|
|
int error;
|
|
@@ -418,6 +418,7 @@ static int block_fsync(struct file *filp, struct dentry *dentry, int datasync)
|
|
error = 0;
|
|
error = 0;
|
|
return error;
|
|
return error;
|
|
}
|
|
}
|
|
|
|
+EXPORT_SYMBOL(block_fsync);
|
|
|
|
|
|
/*
|
|
/*
|
|
* pseudo-fs
|
|
* pseudo-fs
|