[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 <hch@lst.de>
This commit is contained in:
committed by
Al Viro
parent
4e9ed2f85a
commit
3222a3e55f
@@ -167,6 +167,7 @@ static int openpromfs_readdir(struct file *, void *, filldir_t);
|
||||
static const struct file_operations openprom_operations = {
|
||||
.read = generic_read_dir,
|
||||
.readdir = openpromfs_readdir,
|
||||
.llseek = generic_file_llseek,
|
||||
};
|
||||
|
||||
static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *);
|
||||
|
Reference in New Issue
Block a user