fs: use loff_t type instead of long long
Use offset type consistently. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e199ceee15
commit
16abef0e9e
@@ -239,7 +239,7 @@ Eoverflow:
|
||||
loff_t seq_lseek(struct file *file, loff_t offset, int origin)
|
||||
{
|
||||
struct seq_file *m = (struct seq_file *)file->private_data;
|
||||
long long retval = -EINVAL;
|
||||
loff_t retval = -EINVAL;
|
||||
|
||||
mutex_lock(&m->lock);
|
||||
m->version = file->f_version;
|
||||
|
Reference in New Issue
Block a user