diff options
Diffstat (limited to 'libbcachefs/inode.h')
-rw-r--r-- | libbcachefs/inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/inode.h b/libbcachefs/inode.h index 428b9be6..f82cfbf4 100644 --- a/libbcachefs/inode.h +++ b/libbcachefs/inode.h @@ -277,6 +277,7 @@ static inline bool bch2_inode_should_have_single_bp(struct bch_inode_unpacked *i bool inode_has_bp = inode->bi_dir || inode->bi_dir_offset; return S_ISDIR(inode->bi_mode) || + inode->bi_subvol || (!inode->bi_nlink && inode_has_bp); } |