提交 8bbac892 编写于 作者: S Steve Wise 提交者: Roland Dreier

RDMA/cxgb4: Add default_llseek to debugfs files

Incorporate BKL removal changes.
Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 40dbf6ee
...@@ -182,6 +182,7 @@ static const struct file_operations qp_debugfs_fops = { ...@@ -182,6 +182,7 @@ static const struct file_operations qp_debugfs_fops = {
.open = qp_open, .open = qp_open,
.release = qp_release, .release = qp_release,
.read = debugfs_read, .read = debugfs_read,
.llseek = default_llseek,
}; };
static int dump_stag(int id, void *p, void *data) static int dump_stag(int id, void *p, void *data)
...@@ -255,6 +256,7 @@ static const struct file_operations stag_debugfs_fops = { ...@@ -255,6 +256,7 @@ static const struct file_operations stag_debugfs_fops = {
.open = stag_open, .open = stag_open,
.release = stag_release, .release = stag_release,
.read = debugfs_read, .read = debugfs_read,
.llseek = default_llseek,
}; };
static int setup_debugfs(struct c4iw_dev *devp) static int setup_debugfs(struct c4iw_dev *devp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册