]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/sysfs/dir.c
[PATCH] fix ->llseek for more directories
[linux-2.6-omap-h63xx.git] / fs / sysfs / dir.c
index 3a05a596e3b4de91dcb522401441b8dc8d959aa9..82d3b79d0e080765fb3ceb43fae1549ffe7df96d 100644 (file)
@@ -983,4 +983,5 @@ static int sysfs_readdir(struct file * filp, void * dirent, filldir_t filldir)
 const struct file_operations sysfs_dir_operations = {
        .read           = generic_read_dir,
        .readdir        = sysfs_readdir,
+       .llseek         = generic_file_llseek,
 };