cifs: posix fill in inode needed by posix open

function needed to prepare for posix open

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

authored by

Jeff Layton and committed by
Steve French
44f68fad 950ec528

+3 -1
+2
fs/cifs/cifsproto.h
··· 92 92 extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time); 93 93 extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time); 94 94 95 + extern void posix_fill_in_inode(struct inode *tmp_inode, 96 + FILE_UNIX_BASIC_INFO *pData, int isNewInode); 95 97 extern struct inode *cifs_new_inode(struct super_block *sb, __u64 *inum); 96 98 extern int cifs_get_inode_info(struct inode **pinode, 97 99 const unsigned char *search_path,
+1 -1
fs/cifs/inode.c
··· 1051 1051 return rc; 1052 1052 } 1053 1053 1054 - static void posix_fill_in_inode(struct inode *tmp_inode, 1054 + void posix_fill_in_inode(struct inode *tmp_inode, 1055 1055 FILE_UNIX_BASIC_INFO *pData, int isNewInode) 1056 1056 { 1057 1057 struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode);