Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 cleanups from Ingo Molnar:
 "Two small cleanups"

* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, msr: Use file_inode(), not f_mapping->host
  x86: mkpiggy.c: Explicitly close the output file
This commit is contained in:
Linus Torvalds
2013-11-12 10:45:01 +09:00
2 fájl változott, egészen pontosan 11 új sor hozzáadva és 7 régi sor törölve

Fájl megtekintése

@@ -46,7 +46,7 @@ static struct class *msr_class;
static loff_t msr_seek(struct file *file, loff_t offset, int orig)
{
loff_t ret;
struct inode *inode = file->f_mapping->host;
struct inode *inode = file_inode(file);
mutex_lock(&inode->i_mutex);
switch (orig) {