aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2011-07-11 18:47:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-07-11 18:47:04 -0400
commitafb86178cb9b6a7329cf8709aa210fb0a245b606 (patch)
tree04fd42200679f1e74e0b310e716babb2f267b61b /tools/perf/scripts/python
parentext4: Fix a double free of sbi->s_group_info in ext4_mb_init_backend (diff)
downloadlinux-dev-afb86178cb9b6a7329cf8709aa210fb0a245b606.tar.xz
linux-dev-afb86178cb9b6a7329cf8709aa210fb0a245b606.zip
ext4: remove unnecessary comments in ext4_orphan_add()
The comment from Al Viro about possible race in the ext4_orphan_add() is not justified. There is no race possible as we always have either i_mutex locked, or the inode can not be referenced from outside hence the J_ASSERS should not be hit from the reason described in comment. This commit replaces it with notion that we are holding i_mutex so it should not be possible for i_nlink to be changed while waiting for s_orphan_lock. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions