projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smaps: extract pmd walker from smaps code
[powerpc.git]
/
fs
/
proc
/
nommu.c
diff --git
a/fs/proc/nommu.c
b/fs/proc/nommu.c
index
d7dbdf9
..
22f789d
100644
(file)
--- a/
fs/proc/nommu.c
+++ b/
fs/proc/nommu.c
@@
-46,7
+46,7
@@
int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma)
file = vma->vm_file;
if (file) {
file = vma->vm_file;
if (file) {
- struct inode *inode = vma->vm_file->f_dentry->d_inode;
+ struct inode *inode = vma->vm_file->f_
path.
dentry->d_inode;
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
}
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
}
@@
-67,7
+67,7
@@
int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma)
if (len < 1)
len = 1;
seq_printf(m, "%*c", len, ' ');
if (len < 1)
len = 1;
seq_printf(m, "%*c", len, ' ');
- seq_path(m, file->f_
vfsmnt, file->f_
dentry, "");
+ seq_path(m, file->f_
path.mnt, file->f_path.
dentry, "");
}
seq_putc(m, '\n');
}
seq_putc(m, '\n');
@@
-128,7
+128,7
@@
static int proc_nommu_vma_list_open(struct inode *inode, struct file *file)
return seq_open(file, &proc_nommu_vma_list_seqop);
}
return seq_open(file, &proc_nommu_vma_list_seqop);
}
-static struct file_operations proc_nommu_vma_list_operations = {
+static
const
struct file_operations proc_nommu_vma_list_operations = {
.open = proc_nommu_vma_list_open,
.read = seq_read,
.llseek = seq_lseek,
.open = proc_nommu_vma_list_open,
.read = seq_read,
.llseek = seq_lseek,