X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Fproc_fs.h;h=d0e1f1522a78e4213381614f77eea1a0d37d3f9e;hb=433bcf67370bc170a345634aa1be4ee8ac905de9;hp=626fc65c433640c5d6c6302949c9a3028c84a6de;hpb=f62252bf39445d4155c70871a8ce486f872d1442;p=linux-2.6-microblaze.git diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 626fc65c4336..d0e1f1522a78 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -129,7 +129,7 @@ int open_related_ns(struct ns_common *ns, struct ns_common *(*get_ns)(struct ns_common *ns)); /* get the associated pid namespace for a file in procfs */ -static inline struct pid_namespace *proc_pid_ns(struct inode *inode) +static inline struct pid_namespace *proc_pid_ns(const struct inode *inode) { return inode->i_sb->s_fs_info; }