diff options
Diffstat (limited to 'fs/ubifs/tnc.c')
-rw-r--r-- | fs/ubifs/tnc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c index 1bba4c8..74ae2de 100644 --- a/fs/ubifs/tnc.c +++ b/fs/ubifs/tnc.c @@ -1930,6 +1930,9 @@ int ubifs_tnc_lookup_dh(struct ubifs_info *c, const union ubifs_key *key, int err; const struct ubifs_dent_node *dent = node; + if (!c->double_hash) + return -EOPNOTSUPP; + /* * We assume that in most of the cases there are no name collisions and * 'ubifs_tnc_lookup()' returns us the right direntry. |