|
@@ -18,6 +18,7 @@
|
|
#include <linux/dirent.h>
|
|
#include <linux/dirent.h>
|
|
#include <linux/syscalls.h>
|
|
#include <linux/syscalls.h>
|
|
#include <linux/utime.h>
|
|
#include <linux/utime.h>
|
|
|
|
+#include <linux/file.h>
|
|
|
|
|
|
static ssize_t __init xwrite(int fd, const char *p, size_t count)
|
|
static ssize_t __init xwrite(int fd, const char *p, size_t count)
|
|
{
|
|
{
|
|
@@ -647,6 +648,7 @@ static int __init populate_rootfs(void)
|
|
printk(KERN_EMERG "Initramfs unpacking failed: %s\n", err);
|
|
printk(KERN_EMERG "Initramfs unpacking failed: %s\n", err);
|
|
free_initrd();
|
|
free_initrd();
|
|
#endif
|
|
#endif
|
|
|
|
+ flush_delayed_fput();
|
|
/*
|
|
/*
|
|
* Try loading default modules from initramfs. This gives
|
|
* Try loading default modules from initramfs. This gives
|
|
* us a chance to load before device_initcalls.
|
|
* us a chance to load before device_initcalls.
|