cifs: posix fill in inode needed by posix open
authorJeff Layton <jlayton@redhat.com>
Wed, 11 Feb 2009 13:08:28 +0000 (08:08 -0500)
committerSteve French <sfrench@us.ibm.com>
Sat, 21 Feb 2009 03:37:08 +0000 (03:37 +0000)
function needed to prepare for posix open

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/inode.c

index 446e62cbece9b3e0a1b088a422f4c3fe0f06d347..083dfc57c7a3e53adf54f32e9af4c56a8c2eeb9f 100644 (file)
@@ -92,6 +92,8 @@ extern u64 cifs_UnixTimeToNT(struct timespec);
 extern __le64 cnvrtDosCifsTm(__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 int cifs_get_inode_info(struct inode **pinode,
                        const unsigned char *search_path,
index 475115c7cc79bb6bed9b887400173d8f7ff9e3ba..4690a360c85587ed85a76db68ab4c5afed4f998e 100644 (file)
@@ -1051,7 +1051,7 @@ out_reval:
        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)
 {
        struct cifsInodeInfo *cifsInfo = CIFS_I(tmp_inode);