fscache: fix OOB Read in __fscache_acquire_volume
[sfrench/cifs-2.6.git] / include / linux / fscache.h
index 36e5dd84cf5996b1dba6f47a15e1023c4b64e80f..8e312c8323a8e5048d0780401659d2dbe7d90948 100644 (file)
@@ -75,7 +75,7 @@ struct fscache_volume {
        atomic_t                        n_accesses;     /* Number of cache accesses in progress */
        unsigned int                    debug_id;
        unsigned int                    key_hash;       /* Hash of key string */
-       char                            *key;           /* Volume ID, eg. "afs@example.com@1234" */
+       u8                              *key;           /* Volume ID, eg. "afs@example.com@1234" */
        struct list_head                proc_link;      /* Link in /proc/fs/fscache/volumes */
        struct hlist_bl_node            hash_link;      /* Link in hash table */
        struct work_struct              work;