]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: avoid to drop nat entries due to the negative nr_shrink
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 19 Mar 2014 01:43:59 +0000 (10:43 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 20 Mar 2014 13:10:08 +0000 (22:10 +0900)
commite9ef56a2f857a5fe40958a31554751191c1df6db
treee77b844ff325c799afc0760bc0d4d23b788ecb10
parentd3a0c3412e4710b48933f4f0390c019ea50b3039
f2fs: avoid to drop nat entries due to the negative nr_shrink

The try_to_free_nats should not receive the negative nr_shrink.
Otherwise, it can drop all the nat entries by the while loop.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.c