Whamcloud - gitweb
LU-6142 lustre: change all 'struct seq_operations' to const
[fs/lustre-release.git] / lustre / ptlrpc / lproc_ptlrpc.c
index 9904bcf..88f0d26 100644 (file)
@@ -1065,7 +1065,7 @@ static int ptlrpc_lprocfs_svc_req_history_show(struct seq_file *s, void *iter)
 static int
 ptlrpc_lprocfs_svc_req_history_open(struct inode *inode, struct file *file)
 {
-       static struct seq_operations sops = {
+       static const struct seq_operations sops = {
                .start = ptlrpc_lprocfs_svc_req_history_start,
                .stop  = ptlrpc_lprocfs_svc_req_history_stop,
                .next  = ptlrpc_lprocfs_svc_req_history_next,