lkml.org 
[lkml]   [2010]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] RDMA/cxgb4: Add default_llseek to debugfs files.
Date
 > --- a/drivers/infiniband/hw/cxgb4/device.c
> +++ b/drivers/infiniband/hw/cxgb4/device.c
> @@ -182,6 +182,7 @@ static const struct file_operations qp_debugfs_fops = {
> .open = qp_open,
> .release = qp_release,
> .read = debugfs_read,
> + .llseek = default_llseek,
> };
>
> static int dump_stag(int id, void *p, void *data)
> @@ -255,6 +256,7 @@ static const struct file_operations stag_debugfs_fops = {
> .open = stag_open,
> .release = stag_release,
> .read = debugfs_read,
> + .llseek = default_llseek,
> };
>
> static int setup_debugfs(struct c4iw_dev *devp)
>
>

Steve, can you also do a quick test to make sure this works OK with
generic_file_llseek instead of default_llseek?

Thanks.


\
 
 \ /
  Last update: 2010-09-29 23:14    [W:0.404 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site