summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French2012-09-19 01:20:31 +0200
committerSteve French2012-09-25 04:46:29 +0200
commitd6e906f1b571d15ff5778a049802f6ef6f70159a (patch)
tree25dd58336fed99bacea189a2fb632221a0d6f1aa /fs/cifs/cifsglob.h
parentCIFS: Add SMB2 support for rename operation (diff)
downloadkernel-qcow2-linux-d6e906f1b571d15ff5778a049802f6ef6f70159a.tar.gz
kernel-qcow2-linux-d6e906f1b571d15ff5778a049802f6ef6f70159a.tar.xz
kernel-qcow2-linux-d6e906f1b571d15ff5778a049802f6ef6f70159a.zip
CIFS: Move hardlink to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index a0105c547ffd..8595d498ad80 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -278,6 +278,10 @@ struct smb_version_operations {
/* send rename request */
int (*rename)(const unsigned int, struct cifs_tcon *, const char *,
const char *, struct cifs_sb_info *);
+ /* send create hardlink request */
+ int (*create_hardlink)(const unsigned int, struct cifs_tcon *,
+ const char *, const char *,
+ struct cifs_sb_info *);
/* open a file for non-posix mounts */
int (*open)(const unsigned int, struct cifs_tcon *, const char *, int,
int, int, struct cifs_fid *, __u32 *, FILE_ALL_INFO *,