summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-05-19 12:26:43 -0700
committerDavid S. Miller <davem@davemloft.net>2005-05-19 12:26:43 -0700
commitf81a0bffa116ea22149aa7cfb0b4ee09096d9d92 (patch)
tree2266a1ee3719bc62caa9dfd88b16195bc8a79cc4 /fs
parent2fdba6b085eb7068e9594cfa55ffe40466184b4d (diff)
downloadlinux-f81a0bffa116ea22149aa7cfb0b4ee09096d9d92.tar.gz
linux-f81a0bffa116ea22149aa7cfb0b4ee09096d9d92.tar.bz2
linux-f81a0bffa116ea22149aa7cfb0b4ee09096d9d92.zip
[AF_UNIX]: Use lookup_create().
currently it opencodes it, but that's in the way of chaning the lookup_hash interface. I'd prefer to disallow modular af_unix over exporting lookup_create, but I'll leave that to you. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index defe6781e003..dd78f01b6de8 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1580,6 +1580,7 @@ enoent:
fail:
return dentry;
}
+EXPORT_SYMBOL_GPL(lookup_create);
int vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev)
{