Commit dddf4c23 authored by Melike Yurtoglu's avatar Melike Yurtoglu Committed by Greg Kroah-Hartman

Staging: lustre: Added const

WARNING: struct file_operations should normally be const.
That was found by running checkpatch.
Signed-off-by: default avatarMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7c30daaa
......@@ -1083,7 +1083,7 @@ void ptlrpc_lprocfs_register_service(struct proc_dir_entry *entry,
.data = svc},
{NULL}
};
static struct file_operations req_history_fops = {
static const struct file_operations req_history_fops = {
.owner = THIS_MODULE,
.open = ptlrpc_lprocfs_svc_req_history_open,
.read = seq_read,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment