commit | 380347e9ca76828ee9bac63cfc338ca99cdee4f3 | [log] [tgz] |
---|---|---|
author | hujianyang <hujianyang@huawei.com> | Tue Jun 03 14:49:11 2014 +0800 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Tue Jun 03 11:16:51 2014 +0300 |
tree | 8e9a89a8e393338524ec0ddf2e856b437b91c17e | |
parent | 90bea5a3f0bf680b87b90516f3c231997f4b8f3b [diff] |
UBIFS: Add an assertion for clean_zn_cnt This patch adds a new ubifs_assert() in ubifs_tnc_close() to check if there are any leaks of per-filesystem @clean_zn_cnt. This new assert inspects whether the return value of ubifs_destroy_tnc_subtree() is equal to @clean_zn_cnt or not while umount. Artem: a minor amendment Signed-off-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>