diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-20 07:32:20 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:14 +0200 |
commit | 40a53b92150fe9576538f775138413c40cdb30cf (patch) | |
tree | e1cb18facfe52e36dfa93ffd5485a29a73967c0a /fs/bcachefs/errcode.h | |
parent | bcachefs: Minor bch2_btree_node_get() smatch fixes (diff) | |
download | linux-40a53b92150fe9576538f775138413c40cdb30cf.tar.xz linux-40a53b92150fe9576538f775138413c40cdb30cf.zip |
bcachefs: More minor smatch fixes
- fix a few uninitialized return values
- return a proper error code in lookup_lostfound()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index 56b6ce278648..64f7176c2a4e 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -99,6 +99,7 @@ x(ENOENT, ENOENT_str_hash_set_must_replace) \ x(ENOENT, ENOENT_inode) \ x(ENOENT, ENOENT_not_subvol) \ + x(ENOENT, ENOENT_not_directory) \ x(ENOENT, ENOENT_directory_dead) \ x(ENOENT, ENOENT_subvolume) \ x(ENOENT, ENOENT_snapshot_tree) \ |