summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-05-29 18:27:51 -0700
committerSteven Whitehouse <swhiteho@redhat.com>2008-06-27 09:39:31 +0100
commit2d81afb87972013b43b055b4711dc75fdeeb9ba8 (patch)
tree4fe094c9ec57c6a6fa3e23767facc112f1d9d2df /fs/gfs2/log.c
parent048bca223739368aa5b9ce7cfb1d576c32d66cc7 (diff)
downloadlinux-2d81afb87972013b43b055b4711dc75fdeeb9ba8.tar.gz
linux-2d81afb87972013b43b055b4711dc75fdeeb9ba8.tar.bz2
linux-2d81afb87972013b43b055b4711dc75fdeeb9ba8.zip
[GFS2] trivial sparse lock annotations
Annotate the &sdp->sd_log_lock. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 548264b1836d..6c6af9f5e3ab 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -87,6 +87,8 @@ void gfs2_remove_from_ail(struct gfs2_bufdata *bd)
*/
static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
+__releases(&sdp->sd_log_lock)
+__acquires(&sdp->sd_log_lock)
{
struct gfs2_bufdata *bd, *s;
struct buffer_head *bh;