diff options
author | 2012-02-20 03:46:12 -0500 | |
---|---|---|
committer | 2012-08-02 14:52:12 +0300 | |
commit | 0e8d96dd2c99405c707f540b5922ec869b848979 (patch) | |
tree | 4279e079a86060037f6f99c4a0fc1e20825269f9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | pnfs-obj: Fix __r4w_get_page when offset is beyond i_size (diff) | |
download | wireguard-linux-0e8d96dd2c99405c707f540b5922ec869b848979.tar.xz wireguard-linux-0e8d96dd2c99405c707f540b5922ec869b848979.zip |
exofs: readpage_strip: Add a BUG_ON to check for PageLocked(page)
readpage_strip can be called from several code paths all of which
require that the page be locked before any operations are carried
out.
Since we export the exofs_readpage callback to the VFS, add a
BUG_ON to check for PageLocked(page) to make sure that this
understanding is never compromised.
Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions