summaryrefslogtreecommitdiffstats
path: root/kernel/locking/percpu-rwsem.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-08-11 16:28:29 +0200
committerOleg Nesterov <oleg@redhat.com>2015-08-15 13:52:09 +0200
commit0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600 (patch)
treeae83a5c9f212e85db4dbd00279880a6ce24f575d /kernel/locking/percpu-rwsem.c
parentf4b554af9931585174d4913b482eacab75858964 (diff)
downloadlinux-stable-0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600.tar.gz
linux-stable-0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600.tar.bz2
linux-stable-0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600.zip
document rwsem_release() in sb_wait_write()
Not only we need to avoid the warning from lockdep_sys_exit(), the caller of freeze_super() can never release this lock. Another thread can do this, so there is another reason for rwsem_release(). Plus the comment should explain why we have to fool lockdep. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Jan Kara <jack@suse.com>
Diffstat (limited to 'kernel/locking/percpu-rwsem.c')
0 files changed, 0 insertions, 0 deletions