]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/seq_file.c
ext4: fix data=journal fast mount/umount hang
[karo-tx-linux.git] / fs / seq_file.c
index 99dffab4c4e43a900121f7b8c1b8cb3e7ac147c5..9d863fb501f92ab9a9207fcce7d8b2087c637c0e 100644 (file)
@@ -300,14 +300,14 @@ EXPORT_SYMBOL(seq_read);
  *
  *     Ready-made ->f_op->llseek()
  */
-loff_t seq_lseek(struct file *file, loff_t offset, int origin)
+loff_t seq_lseek(struct file *file, loff_t offset, int whence)
 {
        struct seq_file *m = file->private_data;
        loff_t retval = -EINVAL;
 
        mutex_lock(&m->lock);
        m->version = file->f_version;
-       switch (origin) {
+       switch (whence) {
                case 1:
                        offset += file->f_pos;
                case 0: