aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-07-31 19:42:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-03 17:46:43 -0700
commitc625ae0713f18d070ad94612fa3d7f46598f0086 (patch)
tree7de1c29fe3d5156cff17b70b75b3588246a95067 /drivers/staging/lustre/lustre
parentstaging: rtl8192e: Rework EEPROM handling code (diff)
downloadlinux-dev-c625ae0713f18d070ad94612fa3d7f46598f0086.tar.xz
linux-dev-c625ae0713f18d070ad94612fa3d7f46598f0086.zip
staging/lustre: Drop SEEK_* definition checks
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>
Diffstat (limited to 'drivers/staging/lustre/lustre')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/lustre_compat25.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
index f16ba9c8b214..502c7cce7e27 100644
--- a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
+++ b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
@@ -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