f2fs: test before set/clear bits
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Jul 2014 22:47:23 +0000 (15:47 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Jul 2014 21:13:35 +0000 (14:13 -0700)
commit61e0f2d0a5f2cddf7cd96fa8cb7fe53a1e5e325d
tree3c1cc4497995df3c37b979b3b46c9b589db75b4d
parent01229f5e1b21b378863c91f8c653bbd8e593858c
f2fs: test before set/clear bits

If the bit is already set, we don't need to reset it, and vice versa.
Because we don't need to make the caches dirty for that.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h