X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fsync.c;h=47a78bdd7fdd1cb58faafeee774d339852d45c7f;hb=933af93aaaf22df98f8ccf772cc4a70dfcd076bb;hp=6e0a2cbaf6dedb495b91e16f16ab1d44eee3ea46;hpb=b0bb222440a5c8273f67dd37946707e6ba6ad832;p=mirror_ubuntu-bionic-kernel.git diff --git a/fs/sync.c b/fs/sync.c index 6e0a2cbaf6de..47a78bdd7fdd 100644 --- a/fs/sync.c +++ b/fs/sync.c @@ -28,7 +28,7 @@ * wait == 1 case since in that case write_inode() functions do * sync_dirty_buffer() and thus effectively write one block at a time. */ -static int __sync_filesystem(struct super_block *sb, int wait) +int __sync_filesystem(struct super_block *sb, int wait) { if (wait) sync_inodes_sb(sb); @@ -39,6 +39,7 @@ static int __sync_filesystem(struct super_block *sb, int wait) sb->s_op->sync_fs(sb, wait); return __sync_blockdev(sb->s_bdev, wait); } +EXPORT_SYMBOL_GPL(__sync_filesystem); /* * Write out and wait upon all dirty data associated with this