1
0
Fork 0
alistair23-linux/drivers/staging/lustre/lustre/llite
John L. Hammond 060c2820d0 staging: lustre: remove uses of IS_ERR_VALUE()
Remove most uses of IS_ERR_VALUE(). This macro was often given an int
argument coming from PTR_ERR(). This invokes implementation defined
behavior since the long value gotten by applying PTR_ERR() to a kernel
pointer will usually not be representable as an int. Moreover it may
be just plain wrong to do this since the expressions IS_ERR(p) and
IS_ERR_VALUE((int) PTR_ERR(p)) are not equivalent for a general
pointer p.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3498
Reviewed-on: http://review.whamcloud.com/6759
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:29:23 -08:00
..
Makefile staging/lustre: Remove mds/ost capabilities support 2015-09-29 04:06:19 +02:00
dcache.c Staging:lustre:lustre:llite:Remove explicit NULL comparision 2016-02-03 14:44:02 -08:00
dir.c staging/lustre/llite: Update ll_dir_ioctl pointer casts with __user 2016-02-03 14:34:27 -08:00
file.c staging/lustre: Properly cast ll_fid2path argument to __user in ll_file_ioctl 2016-02-03 14:34:27 -08:00
llite_close.c staging: lustre: replace OBDO_FREE with kmem_cache_free 2015-10-24 18:44:26 -07:00
llite_internal.h staging/lustre/llite: Properly mark ll_obd_statfs argument as __user 2016-02-03 14:34:00 -08:00
llite_lib.c staging/lustre/llite: Update llite_lib.c with proper __user attributes 2016-02-03 14:34:00 -08:00
llite_mmap.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
llite_nfs.c staging/lustre/llite: constify export_operations structures 2016-02-03 14:22:53 -08:00
llite_rmtacl.c staging: lustre: remove multiple blank lines 2015-10-13 10:21:10 -07:00
lloop.c staging/lustre/lloop: Properly mark userspace pointers in lo/lloop_ioctl 2016-02-03 14:34:00 -08:00
lproc_llite.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
namei.c Staging patches for 4.5-rc1 2016-01-13 10:13:36 -08:00
remote_perm.c mm: page_alloc: remove GFP_IOFS 2015-11-06 17:50:42 -08:00
rw.c drivers/staging/lustre: Nuke an unsigned >= 0 assert 2016-02-03 14:21:27 -08:00
rw26.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
statahead.c staging: lustre: remove uses of IS_ERR_VALUE() 2016-02-20 14:29:23 -08:00
super25.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00
symlink.c Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-01-12 17:11:47 -08:00
vvp_dev.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
vvp_internal.h staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
vvp_io.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
vvp_lock.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
vvp_object.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00
vvp_page.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
xattr.c Staging: lustre: llite: Remove NULL check before kfree 2016-02-14 16:21:15 -08:00
xattr_cache.c staging: lustre: update Intel copyright messages 2015 2015-12-21 15:38:00 -08:00