summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-05-22 17:39:43 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-13 16:56:20 -0700
commitf4afd85fc4212df5b75ab8e261214b41f0eb8007 (patch)
tree61db69391b0835cc0b4d38094b207792c9ae1093 /tools/perf/scripts/python/export-to-postgresql.py
parentb3df3669b73c7e48e6b808e1b17522f585bd69ea (diff)
f2fs: don't bother checking for encryption key in ->mmap()
Since only an open file can be mmap'ed, and we only allow open()ing an encrypted file when its key is available, there is no need to check for the key again before permitting each mmap(). This f2fs copy of this code was also broken in that it wouldn't actually have failed if the key was in fact unavailable. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: David Gstir <david@sigma-star.at> Acked-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions