VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.

This commit is contained in:
Gregory Nutt
2015-02-18 09:34:58 -06:00
parent e2336a07bb
commit 63ab39b274
10 changed files with 73 additions and 2 deletions
+2
View File
@@ -121,7 +121,9 @@ static const struct rtc_ops_s g_rtc_ops =
#ifdef CONFIG_RTC_IOCTL
.ioctl = NULL,
#endif
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
.destroy = NULL,
#endif
};
/* STM32 RTC device state */