x86, msr: Use file_inode(), not f_mapping->host
authorAndre Richter <andre.o.richter@gmail.com>
Tue, 8 Oct 2013 09:22:22 +0000 (11:22 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 Oct 2013 19:01:29 +0000 (12:01 -0700)
commit122498738417c73943b71294c60ec34fc110f5d6
treeb158ef3e4af44dc28319afe1f46d422ad7a50ad9
parent49449c30c4d1514486364d1e0dbea6938914b86f
x86, msr: Use file_inode(), not f_mapping->host

As discussed in [1], exchange f_mapping->host with file_inode().  This
is a bug, but happens to be non-manifest in this case.

[1] http://lkml.kernel.org/r/20131007190357.GA13318@ZenIV.linux.org.uk

Signed-off-by: Andre Richter <andre.o.richter@gmail.com>
Link: http://lkml.kernel.org/r/1381224142-3267-1-git-send-email-andre.o.richter@gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/msr.c