diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/namei.c b/fs/namei.c index 0f76fd75591b..dd78f01b6de8 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -1580,6 +1580,7 @@ enoent: | |||
1580 | fail: | 1580 | fail: |
1581 | return dentry; | 1581 | return dentry; |
1582 | } | 1582 | } |
1583 | EXPORT_SYMBOL_GPL(lookup_create); | ||
1583 | 1584 | ||
1584 | int vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) | 1585 | int vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) |
1585 | { | 1586 | { |
@@ -2071,8 +2072,8 @@ exit: | |||
2071 | * ->i_sem on parents, which works but leads to some truely excessive | 2072 | * ->i_sem on parents, which works but leads to some truely excessive |
2072 | * locking]. | 2073 | * locking]. |
2073 | */ | 2074 | */ |
2074 | int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, | 2075 | static int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, |
2075 | struct inode *new_dir, struct dentry *new_dentry) | 2076 | struct inode *new_dir, struct dentry *new_dentry) |
2076 | { | 2077 | { |
2077 | int error = 0; | 2078 | int error = 0; |
2078 | struct inode *target; | 2079 | struct inode *target; |
@@ -2116,8 +2117,8 @@ int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, | |||
2116 | return error; | 2117 | return error; |
2117 | } | 2118 | } |
2118 | 2119 | ||
2119 | int vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, | 2120 | static int vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, |
2120 | struct inode *new_dir, struct dentry *new_dentry) | 2121 | struct inode *new_dir, struct dentry *new_dentry) |
2121 | { | 2122 | { |
2122 | struct inode *target; | 2123 | struct inode *target; |
2123 | int error; | 2124 | int error; |