diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-08-02 13:26:12 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-08-06 06:24:50 +0200 |
commit | 2dd2dfa060650118661422d4e666ac804c388751 (patch) | |
tree | 6dd3fb4e1dbe9a6119f17bf0defb12660f2be9a5 /fs/cifs/cifsproto.h | |
parent | change CIFSSMBSetTimes to CIFSSMBSetPathInfo (diff) | |
download | linux-2dd2dfa060650118661422d4e666ac804c388751.tar.xz linux-2dd2dfa060650118661422d4e666ac804c388751.zip |
Rename CIFSSMBSetFileTimes to CIFSSMBSetFileInfo and add PID arg
The new name is more clear since this is also used to set file
attributes. We'll need the pid_of_opener arg so that we can
pass in filehandles of other pids and spare ourselves an open
call.
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index eb2be992608d..a729d083e6f4 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -176,8 +176,9 @@ extern int CIFSSMBSetPathInfo(const int xid, struct cifsTconInfo *tcon, const char *fileName, const FILE_BASIC_INFO *data, const struct nls_table *nls_codepage, int remap_special_chars); -extern int CIFSSMBSetFileTimes(const int xid, struct cifsTconInfo *tcon, - const FILE_BASIC_INFO *data, __u16 fid); +extern int CIFSSMBSetFileInfo(const int xid, struct cifsTconInfo *tcon, + const FILE_BASIC_INFO *data, __u16 fid, + __u32 pid_of_opener); #if 0 extern int CIFSSMBSetAttrLegacy(int xid, struct cifsTconInfo *tcon, char *fileName, __u16 dos_attributes, |