diff options
author | Milosz Tanski <milosz@adfin.com> | 2013-08-09 12:59:39 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-09 17:55:58 -0700 |
commit | fe2a801b50c0bb8039d627e5ae1fec249d10ff39 (patch) | |
tree | 75298f98ac2e0610cf6f9917140a6eb4bb302485 /fs/ceph/inode.c | |
parent | 2f75e9e17911524f294aa7b3bf0d7233f99a3218 (diff) | |
download | op-kernel-dev-fe2a801b50c0bb8039d627e5ae1fec249d10ff39.zip op-kernel-dev-fe2a801b50c0bb8039d627e5ae1fec249d10ff39.tar.gz |
ceph: Remove bogus check in invalidatepage
The early bug checks are moot because the VMA layer ensures those things.
1. It will not call invalidatepage unless PagePrivate (or PagePrivate2) are set
2. It will not call invalidatepage without taking a PageLock first.
3. Guantrees that the inode page is mapped.
Signed-off-by: Milosz Tanski <milosz@adfin.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions