diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-06-29 16:06:59 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-07-16 16:19:15 +0300 |
commit | 4e3299eaddffd9d7d5b8bae28ad700bb775f02d0 (patch) | |
tree | e9788bc97a081aa7e6a32cb8a1e525c6667cad1c /drivers/dma-buf | |
parent | e7478158e1378325907edfdd960eca98a1be405b (diff) | |
download | linux-4e3299eaddffd9d7d5b8bae28ad700bb775f02d0.tar.xz |
fs: do not compare against ->llseek
Now vfs_llseek() can simply check for FMODE_LSEEK; if it's set,
we know that ->llseek() won't be NULL and if it's not we should
just fail with -ESPIPE.
A couple of other places where we used to check for special
values of ->llseek() (somewhat inconsistently) switched to
checking FMODE_LSEEK.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions