diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 0c6d5c549d84..274a22250380 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -1357,8 +1357,8 @@ EXPORT_SYMBOL(d_alloc_name); | |||
1357 | 1357 | ||
1358 | void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) | 1358 | void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) |
1359 | { | 1359 | { |
1360 | BUG_ON(dentry->d_op); | 1360 | WARN_ON_ONCE(dentry->d_op); |
1361 | BUG_ON(dentry->d_flags & (DCACHE_OP_HASH | | 1361 | WARN_ON_ONCE(dentry->d_flags & (DCACHE_OP_HASH | |
1362 | DCACHE_OP_COMPARE | | 1362 | DCACHE_OP_COMPARE | |
1363 | DCACHE_OP_REVALIDATE | | 1363 | DCACHE_OP_REVALIDATE | |
1364 | DCACHE_OP_DELETE )); | 1364 | DCACHE_OP_DELETE )); |