aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/inode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 8c23fb330ea9..24eb4d392155 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -790,7 +790,7 @@ psx_del_no_retry:
790} 790}
791 791
792static void posix_fill_in_inode(struct inode *tmp_inode, 792static void posix_fill_in_inode(struct inode *tmp_inode,
793 FILE_UNIX_BASIC_INFO *pData, int *pobject_type, int isNewInode) 793 FILE_UNIX_BASIC_INFO *pData, int isNewInode)
794{ 794{
795 struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode); 795 struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode);
796 loff_t local_size; 796 loff_t local_size;
@@ -873,7 +873,6 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
873 cFYI(1, ("posix mkdir returned 0x%x", rc)); 873 cFYI(1, ("posix mkdir returned 0x%x", rc));
874 d_drop(direntry); 874 d_drop(direntry);
875 } else { 875 } else {
876 int obj_type;
877 if (pInfo->Type == cpu_to_le32(-1)) { 876 if (pInfo->Type == cpu_to_le32(-1)) {
878 /* no return info, go query for it */ 877 /* no return info, go query for it */
879 kfree(pInfo); 878 kfree(pInfo);
@@ -909,7 +908,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
909 /* we already checked in POSIXCreate whether 908 /* we already checked in POSIXCreate whether
910 frame was long enough */ 909 frame was long enough */
911 posix_fill_in_inode(direntry->d_inode, 910 posix_fill_in_inode(direntry->d_inode,
912 pInfo, &obj_type, 1 /* NewInode */); 911 pInfo, 1 /* NewInode */);
913#ifdef CONFIG_CIFS_DEBUG2 912#ifdef CONFIG_CIFS_DEBUG2
914 cFYI(1, ("instantiated dentry %p %s to inode %p", 913 cFYI(1, ("instantiated dentry %p %s to inode %p",
915 direntry, direntry->d_name.name, newinode)); 914 direntry, direntry->d_name.name, newinode));