drivers: fix up various ->llseek() implementations
authorJosef Bacik <josef@redhat.com>
Mon, 18 Jul 2011 17:21:39 +0000 (13:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:47:58 +0000 (20:47 -0400)
commit22735068d53c7115e384bc88dea95b17e76a6839
treec531b0ca2ccf472c8abfede626535fcf07357624
parent06222e491e663dac939f04b125c9dc52126a75c4
drivers: fix up various ->llseek() implementations

Fix up a few ->llseek() implementations that won't deal with SEEK_HOLE/SEEK_DATA
properly.  Make them future proof so that if we ever add new options they will
return -EINVAL.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/char/generic_nvram.c
drivers/char/nvram.c
drivers/char/ps3flash.c
drivers/macintosh/nvram.c