Commit cf98f69e authored by Linus Torvalds's avatar Linus Torvalds

Remove warning in /proc inode conversions.

parent 74c01024
......@@ -217,12 +217,12 @@ struct proc_inode {
struct inode vfs_inode;
};
static inline struct proc_inode *PROC_I(struct inode *inode)
static inline struct proc_inode *PROC_I(const struct inode *inode)
{
return list_entry(inode, struct proc_inode, vfs_inode);
}
static inline struct proc_dir_entry *PDE(struct inode *inode)
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return PROC_I(inode)->pde;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment