[POWERPC] 4xx: update 440EP(x)/440GR(x) identical PVR issue workaround
[firefly-linux-kernel-4.4.55.git] / fs / dquot.c
index 2809768d9c4106e20f14d75ab86ccc408ea689c5..686ab63a7c6c5c14771d033615aeea15428e23df 100644 (file)
@@ -965,7 +965,7 @@ err_out:
 }
 #endif
 
-static inline void flush_warnings(struct dquot **dquots, char *warntype)
+static inline void flush_warnings(struct dquot * const *dquots, char *warntype)
 {
        int i;
 
@@ -1216,7 +1216,7 @@ warn_put_all:
                for (cnt = 0; cnt < MAXQUOTAS; cnt++)
                        if (inode->i_dquot[cnt])
                                mark_dquot_dirty(inode->i_dquot[cnt]);
-       flush_warnings((struct dquot **)inode->i_dquot, warntype);
+       flush_warnings(inode->i_dquot, warntype);
        up_read(&sb_dqopt(inode->i_sb)->dqptr_sem);
        return ret;
 }