cache the value of file_inode() in struct file
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Mar 2013 00:48:30 +0000 (19:48 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Mar 2013 00:48:30 +0000 (19:48 -0500)
commitdd37978c50bc8b354e5c4633f69387f16572fdac
treed233c7027f26869485f96556cc9cddacbb3a8f2d
parent5e608671dfbfd6a9556c31df65a4f147439eed59
cache the value of file_inode() in struct file

Note that this thing does *not* contribute to inode refcount;
it's pinned down by dentry.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
fs/open.c
include/linux/fs.h