|
@@ -280,8 +280,8 @@ error:
|
|
|
|
|
|
static const struct file_operations romfs_dir_operations = {
|
|
|
.read = generic_read_dir,
|
|
|
- .iterate = romfs_readdir,
|
|
|
- .llseek = default_llseek,
|
|
|
+ .iterate_shared = romfs_readdir,
|
|
|
+ .llseek = generic_file_llseek,
|
|
|
};
|
|
|
|
|
|
static const struct inode_operations romfs_dir_inode_operations = {
|