diff options
Diffstat (limited to 'fs/ubifs/dir.c')
-rw-r--r-- | fs/ubifs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index e271fba1651b..8a574776a493 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c | |||
@@ -453,11 +453,11 @@ out: | |||
453 | } | 453 | } |
454 | 454 | ||
455 | /* If a directory is seeked, we have to free saved readdir() state */ | 455 | /* If a directory is seeked, we have to free saved readdir() state */ |
456 | static loff_t ubifs_dir_llseek(struct file *file, loff_t offset, int origin) | 456 | static loff_t ubifs_dir_llseek(struct file *file, loff_t offset, int whence) |
457 | { | 457 | { |
458 | kfree(file->private_data); | 458 | kfree(file->private_data); |
459 | file->private_data = NULL; | 459 | file->private_data = NULL; |
460 | return generic_file_llseek(file, offset, origin); | 460 | return generic_file_llseek(file, offset, whence); |
461 | } | 461 | } |
462 | 462 | ||
463 | /* Free saved readdir() state when the directory is closed */ | 463 | /* Free saved readdir() state when the directory is closed */ |