diff options
Diffstat (limited to 'fs/gfs2/quota.c')
| -rw-r--r-- | fs/gfs2/quota.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 64b29f7f6b4c..c8b148bbdc8b 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
| @@ -1360,13 +1360,8 @@ void gfs2_quota_cleanup(struct gfs2_sbd *sdp) | |||
| 1360 | 1360 | ||
| 1361 | gfs2_assert_warn(sdp, !atomic_read(&sdp->sd_quota_count)); | 1361 | gfs2_assert_warn(sdp, !atomic_read(&sdp->sd_quota_count)); |
| 1362 | 1362 | ||
| 1363 | if (sdp->sd_quota_bitmap) { | 1363 | kvfree(sdp->sd_quota_bitmap); |
| 1364 | if (is_vmalloc_addr(sdp->sd_quota_bitmap)) | 1364 | sdp->sd_quota_bitmap = NULL; |
| 1365 | vfree(sdp->sd_quota_bitmap); | ||
| 1366 | else | ||
| 1367 | kfree(sdp->sd_quota_bitmap); | ||
| 1368 | sdp->sd_quota_bitmap = NULL; | ||
| 1369 | } | ||
| 1370 | } | 1365 | } |
| 1371 | 1366 | ||
| 1372 | static void quotad_error(struct gfs2_sbd *sdp, const char *msg, int error) | 1367 | static void quotad_error(struct gfs2_sbd *sdp, const char *msg, int error) |
