Add documentation; remove ASSERT on partial write.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 2 Aug 2010 13:13:33 +0000 (13:13 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 2 Aug 2010 13:13:33 +0000 (13:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4121 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/io/kfile_block.c

index 569e1c765f45bda9da84ca42cd1952b031386389..2b8e839bb5c6c47aeeb6522578914163c0096f9b 100644 (file)
@@ -100,7 +100,6 @@ void kfileblock_init(KFileBlock *fb, KBlock *b)
 {
        ASSERT(fb);
        ASSERT(b);
-       ASSERT(kblock_partialWrite(b));
        memset(fb, 0, sizeof(*fb));
        kfile_init(&fb->fd);
        DB(fb->fd._type = KFT_KFILEBLOCK);