aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-12 07:44:16 -0500
committerSteve French <sfrench@us.ibm.com>2010-03-05 23:38:02 -0500
commitbcd5357f430363376565d07ca542127d6d36602c (patch)
treed92d915029eb1b06946de9deb91e5ab7604efa84 /fs/cifs/cifsproto.h
parentdf2cf170c823ba779ca339e3ede347c87f4dc6a9 (diff)
cifs: add a CIFSSMBQFileInfo function
...to get inode attributes via filehandle instead of by path. In some places, we need to revalidate an inode on an open filehandle, but we can't necessarily guarantee that the dentry associated with it will still be valid. When we have an open filehandle already, it makes more sense to do a filehandle based operation anyway. 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 88e2bc44ac58..bf2bff14c24f 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -142,6 +142,8 @@ extern int CIFSFindNext(const int xid, struct cifsTconInfo *tcon,
142extern int CIFSFindClose(const int, struct cifsTconInfo *tcon, 142extern int CIFSFindClose(const int, struct cifsTconInfo *tcon,
143 const __u16 search_handle); 143 const __u16 search_handle);
144 144
145extern int CIFSSMBQFileInfo(const int xid, struct cifsTconInfo *tcon,
146 u16 netfid, FILE_ALL_INFO *pFindData);
145extern int CIFSSMBQPathInfo(const int xid, struct cifsTconInfo *tcon, 147extern int CIFSSMBQPathInfo(const int xid, struct cifsTconInfo *tcon,
146 const unsigned char *searchName, 148 const unsigned char *searchName,
147 FILE_ALL_INFO *findData, 149 FILE_ALL_INFO *findData,