linux/ipc
Dave Hansen 07a46ed27d shmdt: use i_size_read() instead of ->i_size
Andrew Morton noted

	http://lkml.kernel.org/r/20141104142027.a7a0d010772d84560b445f59@linux-foundation.org

that the shmdt uses inode->i_size outside of i_mutex being held.
There is one more case in shm.c in shm_destroy().  This converts
both users over to use i_size_read().

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-13 12:42:52 -08:00
..
compat_mq.c ipc, kernel: use Linux headers 2014-06-06 16:08:14 -07:00
compat.c ipc: resolve shadow warnings 2014-10-14 02:18:23 +02:00
ipc_sysctl.c ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
Makefile ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
mq_sysctl.c ipc: convert use of typedef ctl_table to struct ctl_table 2014-06-06 16:08:16 -07:00
mqueue.c new helper: audit_file() 2014-11-19 13:01:26 -05:00
msg.c ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
msgutil.c
namespace.c ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
sem.c ipc/sem.c: change memory barrier in sem_lock() to smp_rmb() 2014-12-13 12:42:52 -08:00
shm.c shmdt: use i_size_read() instead of ->i_size 2014-12-13 12:42:52 -08:00
syscall.c
util.c ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
util.h ipc, kernel: clear whitespace 2014-06-06 16:08:14 -07:00