Fix compilation warning in dquot.c

Fix compilation warning about discarded const.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Jan Kara and committed by Linus Torvalds 087ee8d5 d5dbac87

+2 -2
+2 -2
fs/dquot.c
··· 965 965 } 966 966 #endif 967 967 968 - static inline void flush_warnings(struct dquot **dquots, char *warntype) 968 + static inline void flush_warnings(struct dquot * const *dquots, char *warntype) 969 969 { 970 970 int i; 971 971 ··· 1216 1216 for (cnt = 0; cnt < MAXQUOTAS; cnt++) 1217 1217 if (inode->i_dquot[cnt]) 1218 1218 mark_dquot_dirty(inode->i_dquot[cnt]); 1219 - flush_warnings((struct dquot **)inode->i_dquot, warntype); 1219 + flush_warnings(inode->i_dquot, warntype); 1220 1220 up_read(&sb_dqopt(inode->i_sb)->dqptr_sem); 1221 1221 return ret; 1222 1222 }