diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-17 02:25:19 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-26 03:30:54 +0100 |
commit | 177f8fc491e230c2e7a3ac7d5626dd6f3d94e9f2 (patch) | |
tree | 459a9dbb6a8a61ab18fd522d701eb6ad27f5b09d /fs/orangefs/orangefs-kernel.h | |
parent | orangefs-bufmap.h: trim unused junk (diff) | |
download | linux-177f8fc491e230c2e7a3ac7d5626dd6f3d94e9f2.tar.xz linux-177f8fc491e230c2e7a3ac7d5626dd6f3d94e9f2.zip |
orangefs: sanitize ->llseek()
a) open files can't have NULL inodes
b) it's SEEK_END, not ORANGEFS_SEEK_END; no need to get cute.
c) make_bad_inode() on lseek()?
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index 5832168106de..db258d2ccc6a 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -70,7 +70,6 @@ #define ORANGEFS_DEVREQ_MAGIC 0x20030529 #define ORANGEFS_LINK_MAX 0x000000FF #define ORANGEFS_PURGE_RETRY_COUNT 0x00000005 -#define ORANGEFS_SEEK_END 0x00000002 #define ORANGEFS_MAX_NUM_OPTIONS 0x00000004 #define ORANGEFS_MAX_MOUNT_OPT_LEN 0x00000080 #define ORANGEFS_MAX_FSKEY_LEN 64 |