Skip to contentSkip to conversation

autofs_root_unlink() declared but not defined

PATCH Pavel Vasilyev 1 participant 1 message Sep 26, 2010 Kernel automounter

lore
Share & tools
lore
#0 lore raw

autofs_root_unlink() declared but not defined if not CONFIG_COMPAT

latest git

--- cut ---

fs/autofs/root.c +0 -0
index 11b1ea7..0c4ca81 100644
@@ -27,7 +27,9 @@ static int autofs_root_unlink(struct inode *,struct dentry 

*);
static int autofs_root_rmdir(struct inode *,struct dentry *); static int autofs_root_mkdir(struct inode *,struct dentry *,int); static long autofs_root_ioctl(struct file *,unsigned int,unsigned long);
+#ifdef CONFIG_COMPAT
static long autofs_root_compat_ioctl(struct file *,unsigned int,unsigned
long);
+#endif

const struct file_operations autofs_root_operations = {
.llseek = generic_file_llseek,

--- cut ---