diff options
Diffstat (limited to 'fs/xfs/quota/xfs_dquot.c')
-rw-r--r-- | fs/xfs/quota/xfs_dquot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c index e4babcc63423..2f3f2229eaaf 100644 --- a/fs/xfs/quota/xfs_dquot.c +++ b/fs/xfs/quota/xfs_dquot.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include "xfs_error.h" | 42 | #include "xfs_error.h" |
43 | #include "xfs_itable.h" | 43 | #include "xfs_itable.h" |
44 | #include "xfs_rw.h" | 44 | #include "xfs_rw.h" |
45 | #include "xfs_acl.h" | ||
46 | #include "xfs_attr.h" | 45 | #include "xfs_attr.h" |
47 | #include "xfs_buf_item.h" | 46 | #include "xfs_buf_item.h" |
48 | #include "xfs_trans_space.h" | 47 | #include "xfs_trans_space.h" |
@@ -1194,7 +1193,9 @@ void | |||
1194 | xfs_qm_dqrele( | 1193 | xfs_qm_dqrele( |
1195 | xfs_dquot_t *dqp) | 1194 | xfs_dquot_t *dqp) |
1196 | { | 1195 | { |
1197 | ASSERT(dqp); | 1196 | if (!dqp) |
1197 | return; | ||
1198 | |||
1198 | xfs_dqtrace_entry(dqp, "DQRELE"); | 1199 | xfs_dqtrace_entry(dqp, "DQRELE"); |
1199 | 1200 | ||
1200 | xfs_dqlock(dqp); | 1201 | xfs_dqlock(dqp); |