err = path_lookup(odffile, LOOKUP_DIRECTORY, &nd);
if (err) {
- printk(KERN_WARNING "unionfs: Cannot access odf\n");
+ printk(KERN_ERR "unionfs: Cannot access odf\n");
goto out;
}
if (!nd.dentry->d_inode || !S_ISDIR(nd.dentry->d_inode->i_mode)) {
- printk(KERN_WARNING "unionfs: Invalid odf\n");
+ printk(KERN_ERR "unionfs: Invalid odf\n");
err = -EINVAL;
goto out_release;
}
goto out_free;
}
if (!osi->whiteout->d_inode) {
+ printk(KERN_ERR "unionfs: Whiteout file in odf does not exist\n");
err = -EINVAL;
goto out_free;
}