From: Oleg Nesterov Date: Tue, 11 Aug 2015 14:28:29 +0000 (+0200) Subject: document rwsem_release() in sb_wait_write() X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600;p=pandora-kernel.git 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 Reviewed-by: Jan Kara --- Reading git-diff-tree failed