]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/filesystems.c
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / fs / filesystems.c
index 8b99955e3504e2e8725ff4f4394b84898e88d155..a920ad2629ac73481cc9c5e2cd38d3ba4b8915dd 100644 (file)
@@ -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)