RDMA/cxgb4: Add default_llseek to debugfs files
authorSteve Wise <swise@opengridcomputing.com>
Wed, 29 Sep 2010 14:11:12 +0000 (14:11 +0000)
committerRoland Dreier <rolandd@cisco.com>
Tue, 12 Oct 2010 03:14:00 +0000 (20:14 -0700)
Incorporate BKL removal changes.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/device.c

index 986cfd7..b254357 100644 (file)
@@ -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)