Commit ccf6780d authored by WANG Cong's avatar WANG Cong Committed by Adrian Bunk

Style fix in fs/select.c

Signed-off-by: default avatarWANG Cong  <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment