X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fpstore%2Finode.c;h=67de74ca85f4a992d94f5ef3450aa5767be231ee;hb=82ba789f48de669fd0bbc84c326f07571d078572;hp=ed1d8c7212da6cdb8911d1fbd6784d499a450b90;hpb=2dfea3803dcf70983d14ce1dcbb3e97a7459a28b;p=~andy%2Flinux diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index ed1d8c7212d..67de74ca85f 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -151,13 +151,13 @@ static int pstore_file_open(struct inode *inode, struct file *file) return 0; } -static loff_t pstore_file_llseek(struct file *file, loff_t off, int origin) +static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence) { struct seq_file *sf = file->private_data; if (sf->op) - return seq_lseek(file, off, origin); - return default_llseek(file, off, origin); + return seq_lseek(file, off, whence); + return default_llseek(file, off, whence); } static const struct file_operations pstore_file_operations = {