VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: jan Blunck <jblunck@suse.de> 2010-05-26 14:44:53 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2010-05-27 09:12:56 -0700 commit: ca572727dbb945e443564029a495157fd2e72995 parent: b4d878e23c7f574490ee4d6fd59ebd6819781dd1
Commit Summary:
fs/: do not fallback to default_llseek() when readdir() uses BKL
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/autofs/root.c b/fs/autofs/root.c
index 8713c7cfbc79..9a0520b50663 100644
--- a/fs/autofs/root.c
+++ b/fs/autofs/root.c
@@ -28,6 +28,7 @@ static int autofs_root_mkdir(struct inode *,struct dentry *,int);
 static int autofs_root_ioctl(struct inode *, struct file *,unsigned int,unsigned long);
 
 const struct file_operations autofs_root_operations = {
+	.llseek		= generic_file_llseek,
 	.read		= generic_read_dir,
 	.readdir	= autofs_root_readdir,
 	.ioctl		= autofs_root_ioctl,