]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita99232f2885abaeff750db029db8fc2b2d82163b
treec531b0ca2ccf472c8abfede626535fcf07357624
parent18925a532aea94b10d0ebf418412120497f53908
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