UBIFS: use correct flags in lprops
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 30 May 2011 11:51:20 +0000 (14:51 +0300)
committerArtem Bityutskiy <dedekind1@gmail.com>
Mon, 4 Jul 2011 07:54:27 +0000 (10:54 +0300)
commit376624476921e43d8b87498161a2ffba6ab8d5aa
treebf0f15c4d9df8470e4c1ba0d4df648f84170ee14
parentf42eed7cba7f83197b0ffbb023e7d89a0b2fd71d
UBIFS: use correct flags in lprops

The UBIFS lpt tree is in many aspects similar to the TNC tree, and we have
similar flags for these trees. And by mistake we use the COW_ZNODE flag for
LPT in some places, instead of the right flag COW_CNODE. And this works
only because these two constants have the same value.

This patch makes all the LPT code to use COW_CNODE and also changes COW_CNODE
constant value to make sure we do not misuse the flags any more.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/lprops.c
fs/ubifs/lpt_commit.c
fs/ubifs/ubifs.h
This page took 0.033664 seconds and 5 git commands to generate.