From a58970363398a4f2a619fc95adb6dcb045700f7c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 6 Dec 2006 20:35:37 -0800 Subject: [PATCH] --- yaml --- r: 42771 b: refs/heads/master c: 48ed214d10ae3c3999af938970f7b5b58df77be3 h: refs/heads/master i: 42769: bf17ef7236e34cfbab8014d81e08b0446cb2fece 42767: 28f4b6ccee42c472b354e43739c174cedb8157cf v: v3 --- [refs] | 2 +- trunk/include/linux/fs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index b6abb3900e33..1c8b80f5a176 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89fc9a1a79725c3e5c3b66cb6bd2c7d9eeab29fa +refs/heads/master: 48ed214d10ae3c3999af938970f7b5b58df77be3 diff --git a/trunk/include/linux/fs.h b/trunk/include/linux/fs.h index 94b831b8157c..d791bae9de9c 100644 --- a/trunk/include/linux/fs.h +++ b/trunk/include/linux/fs.h @@ -636,7 +636,7 @@ extern void inode_double_unlock(struct inode *inode1, struct inode *inode2); * cmpxchg8b without the need of the lock prefix). For SMP compiles * and 64bit archs it makes no difference if preempt is enabled or not. */ -static inline loff_t i_size_read(struct inode *inode) +static inline loff_t i_size_read(const struct inode *inode) { #if BITS_PER_LONG==32 && defined(CONFIG_SMP) loff_t i_size; @@ -679,12 +679,12 @@ static inline void i_size_write(struct inode *inode, loff_t i_size) #endif } -static inline unsigned iminor(struct inode *inode) +static inline unsigned iminor(const struct inode *inode) { return MINOR(inode->i_rdev); } -static inline unsigned imajor(struct inode *inode) +static inline unsigned imajor(const struct inode *inode) { return MAJOR(inode->i_rdev); }