diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-30 05:20:19 +0300 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-01-02 03:54:37 +0300 |
commit | c4a62ca362258d98f42efb282cfbf9b61caffdbe (patch) | |
tree | 017484107efa26789ddd96579fcef09d874333c0 /fs/reiserfs/ioctl.c | |
parent | 0719d3434747889b314a1e8add776418c4148bcf (diff) | |
download | linux-c4a62ca362258d98f42efb282cfbf9b61caffdbe.tar.xz |
reiserfs: Warn on lock relax if taken recursively
When we relax the reiserfs lock to avoid creating unwanted
dependencies against others locks while grabbing these,
we want to ensure it has not been taken recursively, otherwise
the lock won't be really relaxed. Only its depth will be decreased.
The unwanted dependency would then actually happen.
To prevent from that, add a reiserfs_lock_check_recursive() call
in the places that need it.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/reiserfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions