diff --git a/fs/dcache.c b/fs/dcache.c index 5c7df1df81ff8094dd4de8543653ff092433d13a..7fd39f4c5a72613f4b1b08f3a5c2c6f8a22a78fd 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -195,7 +195,7 @@ static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char unsigned long a,b,mask; for (;;) { - a = *(unsigned long *)cs; + a = read_word_at_a_time(cs); b = load_unaligned_zeropad(ct); if (tcount < sizeof(unsigned long)) break;