diff options
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r-- | fs/9p/vfs_inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index eae476fb401c..bb0d7627f95b 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c | |||
@@ -785,7 +785,7 @@ static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode | |||
785 | */ | 785 | */ |
786 | 786 | ||
787 | struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, | 787 | struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, |
788 | struct nameidata *nameidata) | 788 | unsigned int flags) |
789 | { | 789 | { |
790 | struct dentry *res; | 790 | struct dentry *res; |
791 | struct super_block *sb; | 791 | struct super_block *sb; |
@@ -795,8 +795,8 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, | |||
795 | char *name; | 795 | char *name; |
796 | int result = 0; | 796 | int result = 0; |
797 | 797 | ||
798 | p9_debug(P9_DEBUG_VFS, "dir: %p dentry: (%s) %p nameidata: %p\n", | 798 | p9_debug(P9_DEBUG_VFS, "dir: %p dentry: (%s) %p flags: %x\n", |
799 | dir, dentry->d_name.name, dentry, nameidata); | 799 | dir, dentry->d_name.name, dentry, flags); |
800 | 800 | ||
801 | if (dentry->d_name.len > NAME_MAX) | 801 | if (dentry->d_name.len > NAME_MAX) |
802 | return ERR_PTR(-ENAMETOOLONG); | 802 | return ERR_PTR(-ENAMETOOLONG); |
@@ -869,7 +869,7 @@ v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, | |||
869 | struct dentry *res = NULL; | 869 | struct dentry *res = NULL; |
870 | 870 | ||
871 | if (d_unhashed(dentry)) { | 871 | if (d_unhashed(dentry)) { |
872 | res = v9fs_vfs_lookup(dir, dentry, NULL); | 872 | res = v9fs_vfs_lookup(dir, dentry, 0); |
873 | if (IS_ERR(res)) | 873 | if (IS_ERR(res)) |
874 | return PTR_ERR(res); | 874 | return PTR_ERR(res); |
875 | 875 | ||