diff options
author | 2013-09-24 09:35:40 -0500 | |
---|---|---|
committer | 2013-09-25 17:49:12 +0900 | |
commit | 885166c03c1d0ea6d79d707229340e3161ed1316 (patch) | |
tree | cd7619af62a9b5420e84fbfe4077a6b1395dfbaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: remove unneeded write checkpoint in recover_fsync_data (diff) | |
download | linux-dev-885166c03c1d0ea6d79d707229340e3161ed1316.tar.xz linux-dev-885166c03c1d0ea6d79d707229340e3161ed1316.zip |
f2fs: don't let the orphan inode counter underflow
Accounting errors from buggy code calling the acquire/release/remove
orphan inode interfaces can cause n_orphans to underflow, which will
then cause acquire_orphan_inode() to return -ENOSPC on the next
operation. This commit guards against that condition.
Signed-off-by: Russ Knize <rknize@motorola.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions