Skip to content

Commit

Permalink
RDMA/cxgb4: Add default_llseek to debugfs files
Browse files Browse the repository at this point in the history
Incorporate BKL removal changes.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Steve Wise authored and Roland Dreier committed Oct 12, 2010
1 parent 40dbf6e commit 8bbac89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/infiniband/hw/cxgb4/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8bbac89

Please sign in to comment.