summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-12 07:44:17 -0500
committerSteve French <sfrench@us.ibm.com>2010-03-06 04:38:25 +0000
commitc8634fd3115497ac311f57be9c12f993437745cf (patch)
tree67f309df555e2d9af25ce3d141d6bc92a5895107 /fs/cifs/cifsproto.h
parentbcd5357f430363376565d07ca542127d6d36602c (diff)
downloadblackbird-op-linux-c8634fd3115497ac311f57be9c12f993437745cf.tar.gz
blackbird-op-linux-c8634fd3115497ac311f57be9c12f993437745cf.zip
cifs: add a CIFSSMBUnixQFileInfo function
...to allow us to get unix attrs via filehandle. 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 bf2bff14c24f..ce9199f0af9d 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -154,6 +154,8 @@ extern int SMBQueryInformation(const int xid, struct cifsTconInfo *tcon,
FILE_ALL_INFO *findData,
const struct nls_table *nls_codepage, int remap);
+extern int CIFSSMBUnixQFileInfo(const int xid, struct cifsTconInfo *tcon,
+ u16 netfid, FILE_UNIX_BASIC_INFO *pFindData);
extern int CIFSSMBUnixQPathInfo(const int xid,
struct cifsTconInfo *tcon,
const unsigned char *searchName,
OpenPOWER on IntegriCloud