Commit 3885f805 authored by John Kacur's avatar John Kacur Committed by james toy

Now that we've removed the BKL here, let's explicitly set llseek to

no_llseek since the default llseek is not used here.
Signed-off-by: default avatarJohn Kacur <jkacur@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 94e2f167
...@@ -295,6 +295,7 @@ static const struct file_operations efi_rtc_fops = { ...@@ -295,6 +295,7 @@ static const struct file_operations efi_rtc_fops = {
.unlocked_ioctl = efi_rtc_ioctl, .unlocked_ioctl = efi_rtc_ioctl,
.open = efi_rtc_open, .open = efi_rtc_open,
.release = efi_rtc_close, .release = efi_rtc_close,
.llseek = no_llseek,
}; };
static struct miscdevice efi_rtc_dev= { static struct miscdevice efi_rtc_dev= {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment