Whamcloud - gitweb
LU-6142 lustre: change super/file/inode operations to const
[fs/lustre-release.git] / lustre / obdclass / class_obd.c
index 436f04c..a47d434 100644 (file)
@@ -494,7 +494,7 @@ static long obd_class_ioctl(struct file *filp, unsigned int cmd,
 }
 
 /* declare character device */
-static struct file_operations obd_psdev_fops = {
+static const struct file_operations obd_psdev_fops = {
        .owner          = THIS_MODULE,
        .unlocked_ioctl = obd_class_ioctl,      /* unlocked_ioctl */
 };