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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user