alistair23-linux/fs/orangefs
Markus Elfring 5e273a0e06 orangefs: Use kcalloc() in orangefs_prepare_cdm_array()
* A multiplication for the size determination of a memory allocation
  indicated that an array data structure should be processed.
  Thus use the corresponding function "kcalloc".

  This issue was detected by using the Coccinelle software.

* Replace the specification of a data structure by a pointer dereference
  to make the corresponding size determination a bit safer according to
  the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
2017-09-14 14:58:30 -04:00
..
acl.c orangefs: react properly to posix_acl_update_mode's aftermath. 2017-09-14 14:54:38 -04:00
dcache.c
devorangefs-req.c orangefs: Delete error messages for a failed memory allocation in five functions 2017-09-14 14:58:29 -04:00
dir.c orangefs: count directory pieces correctly 2017-05-04 14:38:24 -04:00
downcall.h orangefs: rewrite readdir to fix several bugs 2017-04-26 14:33:00 -04:00
file.c orangefs: don't call filemap_write_and_wait from fsync 2017-09-14 14:58:28 -04:00
inode.c orangefs: do not check possibly stale size on truncate 2017-04-26 14:33:00 -04:00
Kconfig
Makefile
namei.c orangefs: implement statx 2017-04-26 14:33:00 -04:00
orangefs-bufmap.c orangefs: Delete error messages for a failed memory allocation in five functions 2017-09-14 14:58:29 -04:00
orangefs-bufmap.h
orangefs-cache.c
orangefs-debug.h
orangefs-debugfs.c orangefs: Use kcalloc() in orangefs_prepare_cdm_array() 2017-09-14 14:58:30 -04:00
orangefs-debugfs.h
orangefs-dev-proto.h orangefs: rewrite readdir to fix several bugs 2017-04-26 14:33:00 -04:00
orangefs-kernel.h orangefs: implement statx 2017-04-26 14:33:00 -04:00
orangefs-mod.c orangefs: Delete error messages for a failed memory allocation in five functions 2017-09-14 14:58:29 -04:00
orangefs-sysfs.c orangefs: Support readahead_readcnt parameter. 2017-02-03 14:38:28 -05:00
orangefs-sysfs.h
orangefs-utils.c orangefs: ensure the userspace component is unmounted if mount fails 2017-04-26 14:33:00 -04:00
protocol.h orangefs: remove ORANGEFS_READDIR macros 2017-04-26 14:33:00 -04:00
super.c orangefs: Delete error messages for a failed memory allocation in five functions 2017-09-14 14:58:29 -04:00
symlink.c vfs: remove ".readlink = generic_readlink" assignments 2016-12-09 16:45:04 +01:00
upcall.h orangefs: Support readahead_readcnt parameter. 2017-02-03 14:38:28 -05:00
waitqueue.c orangefs: do not wait for timeout if umounting 2017-04-26 14:33:01 -04:00
xattr.c orangefs: constify xattr_handler structure 2017-09-14 14:58:29 -04:00