1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 02:25:00 -05:00
linux/fs/nfs
Chengguang Xu 82c596ebaa nfs4: strengthen error check to avoid unexpected result
The variable error is ssize_t, which is signed and will
cast to unsigned when comapre with variable size, so add
a check to avoid unexpected result in case of negative
value of error.

Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-09-21 10:21:08 -04:00
..
blocklayout treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
filelayout treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
flexfilelayout treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c
delegation.c
delegation.h
dir.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
direct.c NFS client updates for Linux 5.9 2020-08-15 08:26:55 -07:00
dns_resolve.c
dns_resolve.h
export.c
file.c NFS client updates for Linux 5.9 2020-08-15 08:26:55 -07:00
fs_context.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c
internal.h
io.c
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h NFS client updates for Linux 5.9 2020-08-15 08:26:55 -07:00
nfs4client.c
nfs4file.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfs4getroot.c
nfs4idmap.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfs4idmap.h
nfs4namespace.c
nfs4proc.c nfs4: strengthen error check to avoid unexpected result 2020-09-21 10:21:08 -04:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h NFS: Add layout segment info to pnfs read/write/commit tracepoints 2020-08-12 09:46:05 -04:00
nfs4xdr.c fs: nfs: delete repeated words in comments 2020-08-12 09:46:22 -04:00
nfs42.h
nfs42proc.c NFS: Add tracepoints for layouterror and layoutstats. 2020-08-05 07:27:44 -04:00
nfs42xattr.c
nfs42xdr.c
nfsroot.c
nfstrace.c
nfstrace.h
pagelist.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
pnfs.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
pnfs.h NFS: Fix flexfiles read failover 2020-08-12 11:20:29 -04:00
pnfs_dev.c
pnfs_nfs.c
proc.c
read.c
super.c
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c
write.c