[Yaffs] [PATCH 07/20] Avoid NULL pointer access.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Xiangfu Liu
Date:  
To: yaffs
CC: sebastien
Old-Topics: [Yaffs] [PATCH 06/20] Moved memory management.
New-Topics: [Yaffs] [PATCH 08/20] Implemented data synchronization.
Subject: [Yaffs] [PATCH 07/20] Avoid NULL pointer access.
From: Sebastian Huber <>

---
 rtems/rtems_yaffs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/rtems/rtems_yaffs.c b/rtems/rtems_yaffs.c
index 66071a5..4fc4115 100644
--- a/rtems/rtems_yaffs.c
+++ b/rtems/rtems_yaffs.c
@@ -844,7 +844,7 @@ static const rtems_filesystem_operations_table yaffs_ops = {
     .symlink_h = ycb_symlink,
     .readlink_h = ycb_readlink,
     .rename_h = ycb_rename,
-    .statvfs_h = NULL
+    .statvfs_h = ycb_statvfs
 };


/* Yeah, who thought writing filesystem glue code could ever be so complicated? */
--
1.7.4.1