diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 32ceae3e6112..d5ecc6e477da 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -1667,7 +1667,8 @@ void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) | |||
1667 | DCACHE_OP_REVALIDATE | | 1667 | DCACHE_OP_REVALIDATE | |
1668 | DCACHE_OP_WEAK_REVALIDATE | | 1668 | DCACHE_OP_WEAK_REVALIDATE | |
1669 | DCACHE_OP_DELETE | | 1669 | DCACHE_OP_DELETE | |
1670 | DCACHE_OP_SELECT_INODE)); | 1670 | DCACHE_OP_SELECT_INODE | |
1671 | DCACHE_OP_REAL)); | ||
1671 | dentry->d_op = op; | 1672 | dentry->d_op = op; |
1672 | if (!op) | 1673 | if (!op) |
1673 | return; | 1674 | return; |
@@ -1685,6 +1686,8 @@ void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) | |||
1685 | dentry->d_flags |= DCACHE_OP_PRUNE; | 1686 | dentry->d_flags |= DCACHE_OP_PRUNE; |
1686 | if (op->d_select_inode) | 1687 | if (op->d_select_inode) |
1687 | dentry->d_flags |= DCACHE_OP_SELECT_INODE; | 1688 | dentry->d_flags |= DCACHE_OP_SELECT_INODE; |
1689 | if (op->d_real) | ||
1690 | dentry->d_flags |= DCACHE_OP_REAL; | ||
1688 | 1691 | ||
1689 | } | 1692 | } |
1690 | EXPORT_SYMBOL(d_set_d_op); | 1693 | EXPORT_SYMBOL(d_set_d_op); |