staging/lustre: Drop SEEK_* definition checks
authorOleg Drokin <green@linuxhacker.ru>
Fri, 31 Jul 2015 23:42:54 +0000 (19:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:46:43 +0000 (17:46 -0700)
SEEK_DATA and SEEK_HOLE are always defined in the kernel,
drop the definition checks

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h

index f16ba9c8b2143cfeaf7db9b4b1f5ad31bfa06058..502c7cce7e279d849a08a4cbbe80c8dbd2462a6c 100644 (file)
@@ -121,13 +121,6 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
 # define NO_QUOTA (-EDQUOT)
 #endif
 
-#ifndef SEEK_DATA
-#define SEEK_DATA      3       /* seek to the next data */
-#endif
-#ifndef SEEK_HOLE
-#define SEEK_HOLE      4       /* seek to the next hole */
-#endif
-
 #ifndef FMODE_UNSIGNED_OFFSET
 #define FMODE_UNSIGNED_OFFSET  ((__force fmode_t)0x2000)
 #endif