Skip to content
Commit 0e8d96dd authored by Kautuk Consul's avatar Kautuk Consul Committed by Boaz Harrosh
Browse files

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: default avatarKautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent c999ff68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment