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 d3196ca5c3
commit 2532e33de2
+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 */