]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: lustre: Use const static file_operations struct
authorM. Vefa Bicakci <m.v.b@runbox.com>
Sun, 28 Feb 2016 14:26:21 +0000 (09:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:28:29 +0000 (19:28 -0800)
commitc8c21f3b48dfeb1922cdbc08a3691ebf87173adc
tree9ce02b8c0234b6cf536a0965ff67a1656b39f8a5
parent0daec763260e4f0d8038512b72971ddbcf1c63a1
staging: lustre: Use const static file_operations struct

This commit corrects the following sparse warning regarding a
file_operations structure being non-static and constifies the
structure in question as well.

  warning: symbol 'lprocfs_stats_seq_fops' was not declared.
    Should it be static?

Signed-off-by: M. Vefa Bicakci <m.v.b@runbox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c