aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-02-10 07:33:57 -0500
committerSteve French <sfrench@us.ibm.com>2009-02-20 22:37:07 -0500
commit132ac7b77cc95a22d6118d327c96586759fbf006 (patch)
tree37e1211723408f2aef2b71bfdaf34a596e675d8d /fs/cifs/cifsproto.h
parente4cce94c9c8797b08faf6a79396df4d175e377fa (diff)
cifs: refactor new_inode() calls and inode initialization
Move new inode creation into a separate routine and refactor the callers to take advantage of it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index ec9f9c1c7d88..62fd5bd499f6 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -92,6 +92,8 @@ extern u64 cifs_UnixTimeToNT(struct timespec);
92extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time); 92extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time);
93extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time); 93extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time);
94 94
95extern struct inode *cifs_new_inode(struct super_block *sb,
96 unsigned long *inum);
95extern int cifs_get_inode_info(struct inode **pinode, 97extern int cifs_get_inode_info(struct inode **pinode,
96 const unsigned char *search_path, 98 const unsigned char *search_path,
97 FILE_ALL_INFO *pfile_info, 99 FILE_ALL_INFO *pfile_info,