]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/gfs2/file.c
llseek: automatically add .llseek fop
[mirror_ubuntu-artful-kernel.git] / fs / gfs2 / file.c
index 4edd662c8232b2c24d1f1767b937f258071f8211..55d25a68b4961bfc42bd8f1b234c31e96e00052e 100644 (file)
@@ -771,6 +771,7 @@ const struct file_operations gfs2_dir_fops = {
        .fsync          = gfs2_fsync,
        .lock           = gfs2_lock,
        .flock          = gfs2_flock,
+       .llseek         = default_llseek,
 };
 
 #endif /* CONFIG_GFS2_FS_LOCKING_DLM */
@@ -797,5 +798,6 @@ const struct file_operations gfs2_dir_fops_nolock = {
        .open           = gfs2_open,
        .release        = gfs2_close,
        .fsync          = gfs2_fsync,
+       .llseek         = default_llseek,
 };