X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=a920ad2629ac73481cc9c5e2cd38d3ba4b8915dd;hb=bcab3a6e64a9647e022b46182c9687a8c3aa9d11;hp=8b99955e3504e2e8725ff4f4394b84898e88d155;hpb=311ac00deff520820d198cda141109f2a5655d4a;p=karo-tx-linux.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)