X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fsmfs%2Fioctl.c;h=f9d9c2ca3773e10668a1aff8123327d07d143a34;hb=c39489126f88bb5b30643ebb11c72fbe9f9d2241;hp=4faae617107546c104d3969124979000412b682e;hpb=9d4b898b1c1c7c318fda5f0c345ed726c774c06a;p=fs%2Flustre-release.git diff --git a/lustre/smfs/ioctl.c b/lustre/smfs/ioctl.c index 4faae61..f9d9c2c 100644 --- a/lustre/smfs/ioctl.c +++ b/lustre/smfs/ioctl.c @@ -168,11 +168,10 @@ static struct file_operations smfscontrol_fops = { .open = smfs_psdev_open, /* open */ .release = smfs_psdev_release, /* release */ }; - static struct miscdevice smfscontrol_dev = { - .minor = SMFS_MINOR, - .name = "smfscontrol", - .fops = &smfscontrol_fops + minor: SMFS_MINOR, + name: "smfscontrol", + fops: &smfscontrol_fops }; int init_smfs_psdev(void)