X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fsync.c;h=fa5c7fba7f1ba466ef2f85743298aa5f3deb58db;hb=9a14cc2bb566315eca096c7d1b305d0452e5b880;hp=1373a610dc784e4d2ee5742e3af0847666eca92d;hpb=14bda4e5293ed9722f1dc39b543024e37707d6c6;p=mirror_ubuntu-hirsute-kernel.git diff --git a/fs/sync.c b/fs/sync.c index 1373a610dc78..fa5c7fba7f1b 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