diff options
Diffstat (limited to 'fs/coda/inode.c')
-rw-r--r-- | fs/coda/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 82ec68b59208..cac1390b87a3 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c | |||
@@ -257,15 +257,15 @@ static void coda_evict_inode(struct inode *inode) | |||
257 | 257 | ||
258 | int coda_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) | 258 | int coda_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) |
259 | { | 259 | { |
260 | int err = coda_revalidate_inode(dentry->d_inode); | 260 | int err = coda_revalidate_inode(d_inode(dentry)); |
261 | if (!err) | 261 | if (!err) |
262 | generic_fillattr(dentry->d_inode, stat); | 262 | generic_fillattr(d_inode(dentry), stat); |
263 | return err; | 263 | return err; |
264 | } | 264 | } |
265 | 265 | ||
266 | int coda_setattr(struct dentry *de, struct iattr *iattr) | 266 | int coda_setattr(struct dentry *de, struct iattr *iattr) |
267 | { | 267 | { |
268 | struct inode *inode = de->d_inode; | 268 | struct inode *inode = d_inode(de); |
269 | struct coda_vattr vattr; | 269 | struct coda_vattr vattr; |
270 | int error; | 270 | int error; |
271 | 271 | ||