[JFFS2] Use ALLOC_DELETION priority for truncation to zero length
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 25 Feb 2008 15:25:25 +0000 (15:25 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 25 Feb 2008 15:25:25 +0000 (15:25 +0000)
commitdd919660aacdf4adfcd279556aa03e595f7f0fc2
tree8b005d7a921f4814a221e7811f0e7da40747f482
parentb28ba9fa0154f78f3d36f5ae9a42f7bb01663cca
[JFFS2] Use ALLOC_DELETION priority for truncation to zero length

This is going to obsolete all previous nodes, so treat it as deletion.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/fs.c