Commit 44f68fad authored by Jeff Layton's avatar Jeff Layton Committed by Steve French

cifs: posix fill in inode needed by posix open

function needed to prepare for posix open
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 950ec528
...@@ -92,6 +92,8 @@ extern u64 cifs_UnixTimeToNT(struct timespec); ...@@ -92,6 +92,8 @@ extern u64 cifs_UnixTimeToNT(struct timespec);
extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time); extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time);
extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time); extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time);
extern void posix_fill_in_inode(struct inode *tmp_inode,
FILE_UNIX_BASIC_INFO *pData, int isNewInode);
extern struct inode *cifs_new_inode(struct super_block *sb, __u64 *inum); extern struct inode *cifs_new_inode(struct super_block *sb, __u64 *inum);
extern int cifs_get_inode_info(struct inode **pinode, extern int cifs_get_inode_info(struct inode **pinode,
const unsigned char *search_path, const unsigned char *search_path,
......
...@@ -1051,7 +1051,7 @@ int cifs_unlink(struct inode *dir, struct dentry *dentry) ...@@ -1051,7 +1051,7 @@ int cifs_unlink(struct inode *dir, struct dentry *dentry)
return rc; return rc;
} }
static void posix_fill_in_inode(struct inode *tmp_inode, void posix_fill_in_inode(struct inode *tmp_inode,
FILE_UNIX_BASIC_INFO *pData, int isNewInode) FILE_UNIX_BASIC_INFO *pData, int isNewInode)
{ {
struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode); struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment