Replace a bunch of file->dentry->d_inode refs with file_inode()
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Jun 2013 22:37:49 +0000 (23:37 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:57:13 +0000 (12:57 +0400)
commitc77cecee52e9b599da1f8ffd9170d4374c99a345
tree7f3b178cda88ca3e94cf2992b438ccabd7938a62
parent656d09df8f73b6f2ae0c7205c6eb79f1642353f8
Replace a bunch of file->dentry->d_inode refs with file_inode()

Replace a bunch of file->dentry->d_inode refs with file_inode().

In __fput(), use file->f_inode instead so as not to be affected by any tricks
that file_inode() might grow.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
include/linux/fsnotify.h
security/integrity/ima/ima_main.c