Style fix in fs/select.c
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
Родитель
d3e6975e0f
Коммит
ccf6780dc3
|
@ -64,7 +64,7 @@ EXPORT_SYMBOL(poll_initwait);
|
||||||
|
|
||||||
static void free_poll_entry(struct poll_table_entry *entry)
|
static void free_poll_entry(struct poll_table_entry *entry)
|
||||||
{
|
{
|
||||||
remove_wait_queue(entry->wait_address,&entry->wait);
|
remove_wait_queue(entry->wait_address, &entry->wait);
|
||||||
fput(entry->filp);
|
fput(entry->filp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
|
||||||
entry->filp = filp;
|
entry->filp = filp;
|
||||||
entry->wait_address = wait_address;
|
entry->wait_address = wait_address;
|
||||||
init_waitqueue_entry(&entry->wait, current);
|
init_waitqueue_entry(&entry->wait, current);
|
||||||
add_wait_queue(wait_address,&entry->wait);
|
add_wait_queue(wait_address, &entry->wait);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FDS_IN(fds, n) (fds->in + n)
|
#define FDS_IN(fds, n) (fds->in + n)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче