]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ecryptfs/miscdev.c
llseek: automatically add .llseek fop
[net-next-2.6.git] / fs / ecryptfs / miscdev.c
index 00208c3d7e926cf799974ef23d5bdaebd72151c8..940a82e63dc3fcdc52797f9176842fdbf391d272 100644 (file)
@@ -482,6 +482,7 @@ static const struct file_operations ecryptfs_miscdev_fops = {
        .read    = ecryptfs_miscdev_read,
        .write   = ecryptfs_miscdev_write,
        .release = ecryptfs_miscdev_release,
+       .llseek  = noop_llseek,
 };
 
 static struct miscdevice ecryptfs_miscdev = {