orangefs: sanitize ->llseek()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Feb 2016 01:25:19 +0000 (20:25 -0500)
committerMike Marshall <hubcap@omnibond.com>
Sat, 26 Mar 2016 02:30:54 +0000 (22:30 -0400)
commit177f8fc491e230c2e7a3ac7d5626dd6f3d94e9f2
tree459a9dbb6a8a61ab18fd522d701eb6ad27f5b09d
parent7df240d771862c31f869d6b9024c1942c1f01521
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>
fs/orangefs/file.c
fs/orangefs/orangefs-kernel.h