aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-12-10 15:41:40 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:03 -0800
commit2b693005b833ba309c7cb8426cd023d8e80da31e (patch)
treeb0c38765711fd380f7cbb51f0d3cc2cb453fe7c2 /tools/perf/scripts/python/futex-contention.py
parent519a286175b6422e13694ebb73aefee0b5749443 (diff)
ocfs2: Fix xattr check in ocfs2_get_xattr_nolock()
ocfs2_get_xattr_nolock() checks whether inode has any extended attributes (OCFS2_HAS_XATTR_FL). If not, it just sets 'ret' to -ENODATA but continues with checking inline and external attributes anyway (which is pointless although it does not harm). Just return immediately when we know there are no extended attributes in the inode. Coverity id: 1226906. Signed-off-by: Jan Kara <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions