Skip to content

Commit 58a69cb

Browse files
committed
workqueue, freezer: unify spelling of 'freeze' + 'able' to 'freezable'
There are two spellings in use for 'freeze' + 'able' - 'freezable' and 'freezeable'. The former is the more prominent one. The latter is mostly used by workqueue and in a few other odd places. Unify the spelling to 'freezable'. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Acked-by: Dmitry Torokhov <dtor@mail.ru> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Alex Dubov <oakad@yahoo.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Steven Whitehouse <swhiteho@redhat.com>
1 parent 7576958 commit 58a69cb

17 files changed

Lines changed: 35 additions & 35 deletions

File tree

‎Documentation/workqueue.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ resources, scheduled and executed.
190190
* Long running CPU intensive workloads which can be better
191191
managed by the system scheduler.
192192

193-
WQ_FREEZEABLE
193+
WQ_FREEZABLE
194194

195-
A freezeable wq participates in the freeze phase of the system
195+
A freezable wq participates in the freeze phase of the system
196196
suspend operations. Work items on the wq are drained and no
197197
new work item starts execution until thawed.
198198

‎drivers/memstick/core/memstick.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static int __init memstick_init(void)
621621
{
622622
int rc;
623623

624-
workqueue = create_freezeable_workqueue("kmemstick");
624+
workqueue = create_freezable_workqueue("kmemstick");
625625
if (!workqueue)
626626
return -ENOMEM;
627627

‎drivers/misc/tifm_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static int __init tifm_init(void)
329329
{
330330
int rc;
331331

332-
workqueue = create_freezeable_workqueue("tifm");
332+
workqueue = create_freezable_workqueue("tifm");
333333
if (!workqueue)
334334
return -ENOMEM;
335335

‎drivers/misc/vmw_balloon.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ static int __init vmballoon_init(void)
785785
if (x86_hyper != &x86_hyper_vmware)
786786
return -ENODEV;
787787

788-
vmballoon_wq = create_freezeable_workqueue("vmmemctl");
788+
vmballoon_wq = create_freezable_workqueue("vmmemctl");
789789
if (!vmballoon_wq) {
790790
pr_err("failed to create workqueue\n");
791791
return -ENOMEM;

‎drivers/mtd/nand/r852.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ int r852_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
930930

931931
init_completion(&dev->dma_done);
932932

933-
dev->card_workqueue = create_freezeable_workqueue(DRV_NAME);
933+
dev->card_workqueue = create_freezable_workqueue(DRV_NAME);
934934

935935
if (!dev->card_workqueue)
936936
goto error9;

‎drivers/mtd/sm_ftl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ static struct mtd_blktrans_ops sm_ftl_ops = {
12581258
static __init int sm_module_init(void)
12591259
{
12601260
int error = 0;
1261-
cache_flush_workqueue = create_freezeable_workqueue("smflush");
1261+
cache_flush_workqueue = create_freezable_workqueue("smflush");
12621262

12631263
if (IS_ERR(cache_flush_workqueue))
12641264
return PTR_ERR(cache_flush_workqueue);

‎drivers/net/can/mcp251x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ static int mcp251x_open(struct net_device *net)
940940
goto open_unlock;
941941
}
942942

943-
priv->wq = create_freezeable_workqueue("mcp251x_wq");
943+
priv->wq = create_freezable_workqueue("mcp251x_wq");
944944
INIT_WORK(&priv->tx_work, mcp251x_tx_work_handler);
945945
INIT_WORK(&priv->restart_work, mcp251x_restart_work_handler);
946946

‎drivers/tty/serial/max3100.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ static int max3100_startup(struct uart_port *port)
601601
s->rts = 0;
602602

603603
sprintf(b, "max3100-%d", s->minor);
604-
s->workqueue = create_freezeable_workqueue(b);
604+
s->workqueue = create_freezable_workqueue(b);
605605
if (!s->workqueue) {
606606
dev_warn(&s->spi->dev, "cannot create workqueue\n");
607607
return -EBUSY;

‎drivers/tty/serial/max3107.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ static int max3107_startup(struct uart_port *port)
833833
struct max3107_port *s = container_of(port, struct max3107_port, port);
834834

835835
/* Initialize work queue */
836-
s->workqueue = create_freezeable_workqueue("max3107");
836+
s->workqueue = create_freezable_workqueue("max3107");
837837
if (!s->workqueue) {
838838
dev_err(&s->spi->dev, "Workqueue creation failed\n");
839839
return -EBUSY;

‎fs/gfs2/glock.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,11 +1779,11 @@ int __init gfs2_glock_init(void)
17791779
#endif
17801780

17811781
glock_workqueue = alloc_workqueue("glock_workqueue", WQ_MEM_RECLAIM |
1782-
WQ_HIGHPRI | WQ_FREEZEABLE, 0);
1782+
WQ_HIGHPRI | WQ_FREEZABLE, 0);
17831783
if (IS_ERR(glock_workqueue))
17841784
return PTR_ERR(glock_workqueue);
17851785
gfs2_delete_workqueue = alloc_workqueue("delete_workqueue",
1786-
WQ_MEM_RECLAIM | WQ_FREEZEABLE,
1786+
WQ_MEM_RECLAIM | WQ_FREEZABLE,
17871787
0);
17881788
if (IS_ERR(gfs2_delete_workqueue)) {
17891789
destroy_workqueue(glock_workqueue);

0 commit comments

Comments
 (0)