llseek: automatically add .llseek fop
[linux-block.git] / fs / hugetlbfs / inode.c
index 6e5bd42f38604dd1573992bb16aad0076a03be03..113eba3d3c386e139453abedb72f1da8dc844097 100644 (file)
@@ -674,6 +674,7 @@ const struct file_operations hugetlbfs_file_operations = {
        .mmap                   = hugetlbfs_file_mmap,
        .fsync                  = noop_fsync,
        .get_unmapped_area      = hugetlb_get_unmapped_area,
+       .llseek         = default_llseek,
 };
 
 static const struct inode_operations hugetlbfs_dir_inode_operations = {