diff options
Diffstat (limited to 'fs/coda/dir.c')
-rw-r--r-- | fs/coda/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c index 9e37e8bc9b89..aa40c811f8d2 100644 --- a/fs/coda/dir.c +++ b/fs/coda/dir.c | |||
@@ -125,7 +125,7 @@ static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, struc | |||
125 | return ERR_PTR(error); | 125 | return ERR_PTR(error); |
126 | 126 | ||
127 | exit: | 127 | exit: |
128 | entry->d_op = &coda_dentry_operations; | 128 | d_set_d_op(entry, &coda_dentry_operations); |
129 | 129 | ||
130 | if (inode && (type & CODA_NOCACHE)) | 130 | if (inode && (type & CODA_NOCACHE)) |
131 | coda_flag_inode(inode, C_VATTR | C_PURGE); | 131 | coda_flag_inode(inode, C_VATTR | C_PURGE); |