diff options
| -rw-r--r-- | fs/dquot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dquot.c b/fs/dquot.c index 2809768d9c41..686ab63a7c6c 100644 --- a/fs/dquot.c +++ b/fs/dquot.c | |||
| @@ -965,7 +965,7 @@ err_out: | |||
| 965 | } | 965 | } |
| 966 | #endif | 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 | int i; | 970 | int i; |
| 971 | 971 | ||
| @@ -1216,7 +1216,7 @@ warn_put_all: | |||
| 1216 | for (cnt = 0; cnt < MAXQUOTAS; cnt++) | 1216 | for (cnt = 0; cnt < MAXQUOTAS; cnt++) |
| 1217 | if (inode->i_dquot[cnt]) | 1217 | if (inode->i_dquot[cnt]) |
| 1218 | mark_dquot_dirty(inode->i_dquot[cnt]); | 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 | up_read(&sb_dqopt(inode->i_sb)->dqptr_sem); | 1220 | up_read(&sb_dqopt(inode->i_sb)->dqptr_sem); |
| 1221 | return ret; | 1221 | return ret; |
| 1222 | } | 1222 | } |
