]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ubifs/dir.c
lseek: the "whence" argument is called "whence"
[mirror_ubuntu-artful-kernel.git] / fs / ubifs / dir.c
index e271fba1651baf645e00f62659cc80825625ca71..8a574776a493199a90d1534574fc77d5c1a360d2 100644 (file)
@@ -453,11 +453,11 @@ out:
 }
 
 /* If a directory is seeked, we have to free saved readdir() state */
-static loff_t ubifs_dir_llseek(struct file *file, loff_t offset, int origin)
+static loff_t ubifs_dir_llseek(struct file *file, loff_t offset, int whence)
 {
        kfree(file->private_data);
        file->private_data = NULL;
-       return generic_file_llseek(file, offset, origin);
+       return generic_file_llseek(file, offset, whence);
 }
 
 /* Free saved readdir() state when the directory is closed */