X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_compat25.h;h=d6d46e4a5202b42398b1b488bcf44d8a8d062df8;hp=d2939b58daba9f5859c551d4630e6f3c4562cce2;hb=774512ea1e17efb99713e29f4dff03c71843b211;hpb=f88a39f7e2e5b2b0d15119e6390da7ef9b7fe6e1 diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index d2939b5..d6d46e4 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -385,22 +385,6 @@ int filemap_fdatawrite_range(struct address_space *mapping, loff_t start, loff_t end); #endif /* HAVE_FILEMAP_FDATAWRITE_RANGE */ -#ifdef HAVE_VFS_KERN_MOUNT -static inline struct vfsmount * -ll_kern_mount(const char *fstype, int flags, const char *name, void *data) -{ - struct file_system_type *type = get_fs_type(fstype); - struct vfsmount *mnt; - if (!type) - return ERR_PTR(-ENODEV); - mnt = vfs_kern_mount(type, flags, name, data); - cfs_module_put(type->owner); - return mnt; -} -#else -#define ll_kern_mount(fstype, flags, name, data) do_kern_mount((fstype), (flags), (name), (data)) -#endif - #ifndef HAVE_ATOMIC_MNT_COUNT static inline unsigned int mnt_get_count(struct vfsmount *mnt) {