sysfs: use generic_file_llseek() for sysfs_file_operations
[linux-2.6-block.git] / fs / sysfs / file.c
index 382db3c045f37bdd9cd1b11e077e24d208997f45..79b5da2acbe184353475f53ccb03793404bd3563 100644 (file)
@@ -800,7 +800,7 @@ EXPORT_SYMBOL_GPL(sysfs_notify);
 const struct file_operations sysfs_file_operations = {
        .read           = seq_read,
        .write          = sysfs_write_file,
-       .llseek         = seq_lseek,
+       .llseek         = generic_file_llseek,
        .open           = sysfs_open_file,
        .release        = sysfs_release,
        .poll           = sysfs_poll,