linux/fs/cifs
Darrick J. Wong 42ec3d4c02 vfs: make remap_file_range functions take and return bytes completed
Change the remap_file_range functions to take a number of bytes to
operate upon and return the number of bytes they operated on.  This is a
requirement for allowing fs implementations to return short clone/dedupe
results to the user, which will enable us to obey resource limits in a
graceful manner.

A subsequent patch will enable copy_file_range to signal to the
->clone_file_range implementation that it can handle a short length,
which will be returned in the function's return value.  For now the
short return is not implemented anywhere so the behavior won't change --
either copy_file_range manages to clone the entire range or it tries an
alternative.

Neither clone ioctl can take advantage of this, alas.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2018-10-30 10:41:49 +11:00
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c fs/cifs: don't translate SFM_SLASH (U+F026) to backslash 2018-09-02 23:21:42 -05:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c vfs: make remap_file_range functions take and return bytes completed 2018-10-30 10:41:49 +11:00
cifsfs.h cifs: update internal module version number for cifs.ko to 2.12 2018-08-23 15:11:10 -05:00
cifsglob.h cifs: add a warning if we try to to dequeue a deleted mid 2018-10-02 18:12:31 -05:00
cifspdu.h
cifsproto.h
cifssmb.c fs/cifs: suppress a string overflow warning 2018-09-09 00:02:39 -05:00
connect.c smb3: fix lease break problem introduced by compounding 2018-10-02 18:54:09 -05:00
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c
fscache.c
fscache.h
inode.c SMB3: Backup intent flag missing for directory opens with backupuid mounts 2018-09-02 23:21:42 -05:00
ioctl.c
Kconfig fs/cifs: require sha512 2018-09-09 00:04:27 -05:00
link.c
Makefile
misc.c cifs: read overflow in is_valid_oplock_break() 2018-09-12 17:13:34 -05:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c cifs: prevent integer overflow in nxt_dir_entry() 2018-09-12 09:27:57 -05:00
rfc1002pdu.h
sess.c cifs: check kmalloc before use 2018-08-23 15:10:49 -05:00
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c smb3: minor debugging clarifications in rfc1001 len processing 2018-09-02 23:21:42 -05:00
smb2ops.c smb2: fix missing files in root share directory listing 2018-10-02 18:06:21 -05:00
smb2pdu.c cifs: integer overflow in in SMB2_ioctl() 2018-09-12 09:32:07 -05:00
smb2pdu.h cifs: create a define for how many iovs we need for an SMB2_open() 2018-08-23 15:10:40 -05:00
smb2proto.h
smb2status.h
smb2transport.c
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: only wake the thread for the very last PDU in a compound 2018-10-02 18:53:57 -05:00
winucase.c
xattr.c