aboutsummaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 853770274f20..9943408b315e 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -239,7 +239,7 @@ Eoverflow:
239loff_t seq_lseek(struct file *file, loff_t offset, int origin) 239loff_t seq_lseek(struct file *file, loff_t offset, int origin)
240{ 240{
241 struct seq_file *m = (struct seq_file *)file->private_data; 241 struct seq_file *m = (struct seq_file *)file->private_data;
242 long long retval = -EINVAL; 242 loff_t retval = -EINVAL;
243 243
244 mutex_lock(&m->lock); 244 mutex_lock(&m->lock);
245 m->version = file->f_version; 245 m->version = file->f_version;