提交 ccf6780d 编写于 作者: W WANG Cong 提交者: Adrian Bunk

Style fix in fs/select.c

Signed-off-by: NWANG Cong  <xiyou.wangcong@gmail.com>
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
上级 d3e6975e
...@@ -64,7 +64,7 @@ EXPORT_SYMBOL(poll_initwait); ...@@ -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, ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册