Whamcloud - gitweb
LU-3963 libcfs: remove last of cfs list wrappers
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_oi.h
index 2e6848f..c9d727d 100644 (file)
@@ -49,7 +49,6 @@
 #ifndef _OSD_OI_H
 #define _OSD_OI_H
 
-#if defined(__KERNEL__)
 
 /* struct rw_semaphore */
 #include <linux/rwsem.h>
@@ -155,5 +154,4 @@ int  osd_oi_update(struct osd_thread_info *info, struct osd_device *osd,
 
 int fid_is_on_ost(struct osd_thread_info *info, struct osd_device *osd,
                  const struct lu_fid *fid, enum oi_check_flags flags);
-#endif /* __KERNEL__ */
 #endif /* _OSD_OI_H */