commit | 95201a40604791bc4a2e8d066429be89fb82b46d | [log] [tgz] |
---|---|---|
author | NeilBrown <[email protected]> | Wed Nov 04 15:20:34 2015 +0000 |
committer | Al Viro <[email protected]> | Wed Nov 11 02:08:17 2015 -0500 |
tree | ef88b895c4e6b8bef8efd28d9ea852cb63814dc7 | |
parent | b130ed5998e62879a66bad08931a2b5e832da95c [diff] |
cachefiles: perform test on s_blocksize when opening cache file. cachefiles requires that s_blocksize in the cache is not greater than PAGE_SIZE, and performs the check every time a block is accessed. Move the test to the place where the file is "opened", where other file-validity tests are performed. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]>