mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] fix ->llseek for more directories
With this patch all directory fops instances that have a readdir that doesn't take the BKL are switched to generic_file_llseek. Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
4e9ed2f85a
commit
3222a3e55f
11 changed files with 12 additions and 1 deletions
|
|
@ -839,6 +839,7 @@ const struct file_operations fat_dir_operations = {
|
|||
.compat_ioctl = fat_compat_dir_ioctl,
|
||||
#endif
|
||||
.fsync = file_fsync,
|
||||
.llseek = generic_file_llseek,
|
||||
};
|
||||
|
||||
static int fat_get_short_entry(struct inode *dir, loff_t *pos,
|
||||
|
|
|
|||
Loading…
Reference in a new issue