X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_compat25.h;h=d5ae11a9c0ff0e76a97daa983850dda1cae32150;hp=922d054c4e1f1203a1f14deadcc73a7fa7eec48a;hb=0a9c652a6a8a24504278715cc17f783b20b225c2;hpb=9c71dacaf0b16c10952b4d788016e70b667cd77b;ds=sidebyside diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 922d054..d5ae11a 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -343,16 +343,6 @@ static inline unsigned int mnt_get_count(struct vfsmount *mnt) #define ll_do_statfs(sb, sfs) (sb)->s_op->statfs((sb), (sfs)) #endif -#ifndef HAVE_SB_TIME_GRAN -#ifndef HAVE_S_TIME_GRAN -#error Need s_time_gran patch! -#endif -static inline u32 get_sb_time_gran(struct super_block *sb) -{ - return sb->s_time_gran; -} -#endif - #ifdef HAVE_RW_TREE_LOCK #define TREE_READ_LOCK_IRQ(mapping) read_lock_irq(&(mapping)->tree_lock) #define TREE_READ_UNLOCK_IRQ(mapping) read_unlock_irq(&(mapping)->tree_lock)