mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-03 00:00:07 +03:00
Use proper flags mask.
This commit is contained in:
parent
fd0b8fe7f0
commit
3214b44d90
@ -248,7 +248,7 @@ err:
|
||||
static void bcachefs_fuse_mkdir(fuse_req_t req, fuse_ino_t dir,
|
||||
const char *name, mode_t mode)
|
||||
{
|
||||
BUG_ON(mode & (~S_IALLUGO));
|
||||
BUG_ON(mode & S_IFMT);
|
||||
|
||||
mode |= S_IFDIR;
|
||||
bcachefs_fuse_mknod(req, dir, name, mode, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user