diff options
author | 2011-05-30 14:45:30 +0300 | |
---|---|---|
committer | 2011-07-04 10:54:27 +0300 | |
commit | f42eed7cba7f83197b0ffbb023e7d89a0b2fd71d (patch) | |
tree | b5590faffe190cd1401945e13c66684bec2f5b48 /kernel/workqueue.c | |
parent | UBIFS: remove dead code (diff) | |
download | linux-rng-f42eed7cba7f83197b0ffbb023e7d89a0b2fd71d.tar.xz linux-rng-f42eed7cba7f83197b0ffbb023e7d89a0b2fd71d.zip |
UBIFS: harmonize znode flag helpers
We have 3 znode flags: cow, obsolete, dirty. For the last flag we have a
'ubifs_zn_dirty()' helper function, but for the other 2 flags we use
'test_bit()' directly.
This patch makes the situation more consistent and introduces helpers for the
other 2 flags: 'ubifs_zn_cow()' and 'ubifs_zn_obsolete()'.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions