Commit 4ca26989 authored by Andrew Morton's avatar Andrew Morton Committed by Patrick Mochel

[PATCH] ->llseek returns loff_t, even for /dev/mem

From: Christoph Hellwig <hch@lst.de>

memory_lseek() should return a loff_t.
parent 393d615b
......@@ -522,7 +522,7 @@ static loff_t null_lseek(struct file * file, loff_t offset, int orig)
*/
static loff_t memory_lseek(struct file * file, loff_t offset, int orig)
{
int ret;
loff_t ret;
lock_kernel();
switch (orig) {
......
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