mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-13 00:00:04 +03:00
Fix missing mode setting in fuse mkdir.
This commit is contained in:
parent
0df96db46e
commit
de151b0659
@ -248,6 +248,9 @@ err:
|
|||||||
static void bcachefs_fuse_mkdir(fuse_req_t req, fuse_ino_t dir,
|
static void bcachefs_fuse_mkdir(fuse_req_t req, fuse_ino_t dir,
|
||||||
const char *name, mode_t mode)
|
const char *name, mode_t mode)
|
||||||
{
|
{
|
||||||
|
BUG_ON(mode & (~S_IALLUGO));
|
||||||
|
|
||||||
|
mode |= S_IFDIR;
|
||||||
bcachefs_fuse_mknod(req, dir, name, mode, 0);
|
bcachefs_fuse_mknod(req, dir, name, mode, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user