projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca10ed
)
locks: add __acquires and __releases annotations to locks_start and locks_stop
author
Jeff Layton
<jlayton@redhat.com>
Mon, 3 Feb 2014 17:13:07 +0000
(12:13 -0500)
committer
Jeff Layton
<jlayton@redhat.com>
Mon, 31 Mar 2014 12:24:42 +0000
(08:24 -0400)
...to make sparse happy.
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/locks.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/locks.c
b/fs/locks.c
index 049a14402ee46c46c8453c4d1e209dd0a948c6ec..6084f5a32e9cd69dab6afa197b172b85cb148323 100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-2430,6
+2430,7
@@
static int locks_show(struct seq_file *f, void *v)
}
static void *locks_start(struct seq_file *f, loff_t *pos)
+ __acquires(&blocked_lock_lock)
{
struct locks_iterator *iter = f->private;
@@
-2448,6
+2449,7
@@
static void *locks_next(struct seq_file *f, void *v, loff_t *pos)
}
static void locks_stop(struct seq_file *f, void *v)
+ __releases(&blocked_lock_lock)
{
spin_unlock(&blocked_lock_lock);
lg_global_unlock(&file_lock_lglock);
This page took
0.026216 seconds
and
5
git commands to generate.