X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=a920ad2629ac73481cc9c5e2cd38d3ba4b8915dd;hb=HEAD;hp=8b99955e3504e2e8725ff4f4394b84898e88d155;hpb=568d135d337d3114688fef9fdbce7fb6dbbd04c7;p=mirror_ubuntu-artful-kernel.git diff --git a/fs/filesystems.c b/fs/filesystems.c index 8b99955e3504..a920ad2629ac 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c @@ -33,9 +33,10 @@ static struct file_system_type *file_systems; static DEFINE_RWLOCK(file_systems_lock); /* WARNING: This can be used only if we _already_ own a reference */ -void get_filesystem(struct file_system_type *fs) +struct file_system_type *get_filesystem(struct file_system_type *fs) { __module_get(fs->owner); + return fs; } void put_filesystem(struct file_system_type *fs)