projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8016387
)
orangefs: ->poll() doesn't need spinlock
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 19 Jan 2016 17:07:49 +0000
(12:07 -0500)
committer
Mike Marshall
<hubcap@omnibond.com>
Sat, 23 Jan 2016 17:42:43 +0000
(12:42 -0500)
not just for list_empty()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/devorangefs-req.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/orangefs/devorangefs-req.c
b/fs/orangefs/devorangefs-req.c
index 456b5189f772b6581d5e862c01bff0470fdd6284..b58fab2a9c265c1a970d482fb87e77f0a42b3f1f 100644
(file)
--- a/
fs/orangefs/devorangefs-req.c
+++ b/
fs/orangefs/devorangefs-req.c
@@
-941,10
+941,8
@@
static unsigned int orangefs_devreq_poll(struct file *file,
poll_wait(file, &orangefs_request_list_waitq, poll_table);
- spin_lock(&orangefs_request_list_lock);
if (!list_empty(&orangefs_request_list))
poll_revent_mask |= POLL_IN;
- spin_unlock(&orangefs_request_list_lock);
return poll_revent_mask;
}