diff options
Diffstat (limited to 'fs/cachefiles/namei.c')
-rw-r--r-- | fs/cachefiles/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index 25badd1aec5c..f4a08d7fa2f7 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c | |||
@@ -56,7 +56,7 @@ void __cachefiles_printk_object(struct cachefiles_object *object, | |||
56 | object->fscache.cookie->parent, | 56 | object->fscache.cookie->parent, |
57 | object->fscache.cookie->netfs_data, | 57 | object->fscache.cookie->netfs_data, |
58 | object->fscache.cookie->flags); | 58 | object->fscache.cookie->flags); |
59 | if (keybuf) | 59 | if (keybuf && cookie->def) |
60 | keylen = cookie->def->get_key(cookie->netfs_data, keybuf, | 60 | keylen = cookie->def->get_key(cookie->netfs_data, keybuf, |
61 | CACHEFILES_KEYBUF_SIZE); | 61 | CACHEFILES_KEYBUF_SIZE); |
62 | else | 62 | else |