]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ed1f122d5867ccc021c73a9452440c7d6839a4f
tree7f3b178cda88ca3e94cf2992b438ccabd7938a62
parent327c6d01b0c1e5ec468a305d0a77e87d60bab432
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