summaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorArt Haas <ahaas@neosoft.com>2002-07-31 22:23:13 -0700
committerChristoph Hellwig <hch@sb.bsdonline.org>2002-07-31 22:23:13 -0700
commit0ff25cbe9ca30418d54e15d2380353c9e828845a (patch)
tree438ffb2a58ac1877d7832c11b88865cd7b9bf239 /kernel/futex.c
parent9df35b7c38f9b1370c1568d678931403358af496 (diff)
[PATCH] designated initializer patches for
Here are patches for designated initializers in kernel/*.
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index dca7e1a84864..ef3dc8b00a5f 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -245,8 +245,8 @@ static unsigned int futex_poll(struct file *filp,
}
static struct file_operations futex_fops = {
- release: futex_close,
- poll: futex_poll,
+ .release = futex_close,
+ .poll = futex_poll,
};
/* Signal allows caller to avoid the race which would occur if they
@@ -357,8 +357,8 @@ futexfs_get_sb(struct file_system_type *fs_type,
}
static struct file_system_type futex_fs_type = {
- name: "futexfs",
- get_sb: futexfs_get_sb,
+ .name = "futexfs",
+ .get_sb = futexfs_get_sb,
};
static int __init init(void)