commit | 0e4f6a791b1e8cfde75a74e2f885642ecb3fe9d8 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 04 12:18:57 2010 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 09 16:47:27 2010 -0400 |
tree | 3cb4d6590be13c4890a7d6d40b90a2517ccbe87a | |
parent | 918377b696bff7384923a1ef4bf0af7626cb9b68 [diff] |
Fix reiserfs_file_release() a) count file openers correctly; i_count use was completely wrong b) use new mutex for exclusion between final close/open/truncate, to protect tailpacking logics. i_mutex use was wrong and resulted in deadlocks. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>