Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d81f9f51 authored by Jessica Yu's avatar Jessica Yu Committed by Greg Kroah-Hartman
Browse files

Staging: lustre: linux-module: add const modifier to file_operations



Add the const modifier to the file_operations struct, since it is
normally const.

Signed-off-by: default avatarJessica Yu <jyu@cowsay.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18e2e99b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ static long libcfs_ioctl(struct file *file,
	return rc;
}

static struct file_operations libcfs_fops = {
static const struct file_operations libcfs_fops = {
	.unlocked_ioctl	= libcfs_ioctl,
	.open		= libcfs_psdev_open,
	.release	= libcfs_psdev_release,