diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-28 16:01:35 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-28 16:01:35 +0200 |
| commit | 7a4097472c31b233c439817c5f3cafcdd16fafac (patch) | |
| tree | e9615051ee54347939908ab18992b0c93f7aed79 /fs/afs | |
| parent | c934ea97fe61e116e67d06f4d41cb4b590228a5e (diff) | |
| parent | b70cb1ebbf876acb69e4eb995f563096754c9a9a (diff) | |
| download | linux-next-7a4097472c31b233c439817c5f3cafcdd16fafac.tar.gz linux-next-7a4097472c31b233c439817c5f3cafcdd16fafac.zip | |
Merge branch 'vfs-7.3.misc' into vfs.all
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/afs')
| -rw-r--r-- | fs/afs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index 6df56fe9163f..81565366d937 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -34,7 +34,7 @@ static bool afs_lookup_filldir(struct dir_context *ctx, const char *name, int nl u64 ino, u32 uniquifier); #define AFS_LOOKUP ((filldir_t)0x137UL) static int afs_create(struct mnt_idmap *idmap, struct inode *dir, - struct dentry *dentry, umode_t mode, bool excl); + struct dentry *dentry, umode_t mode); static struct dentry *afs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode); static int afs_rmdir(struct inode *dir, struct dentry *dentry); @@ -1333,7 +1333,7 @@ static struct dentry *afs_mkdir(struct mnt_idmap *idmap, struct inode *dir, op->file[0].modification = true; op->file[0].update_ctime = true; op->dentry = dentry; - op->create.mode = S_IFDIR | mode; + op->create.mode = mode; op->create.reason = afs_edit_dir_for_mkdir; op->mtime = current_time(dir); op->ops = &afs_mkdir_operation; @@ -1633,7 +1633,7 @@ static const struct afs_operation_ops afs_create_operation = { * create a regular file on an AFS filesystem */ static int afs_create(struct mnt_idmap *idmap, struct inode *dir, - struct dentry *dentry, umode_t mode, bool excl) + struct dentry *dentry, umode_t mode) { struct afs_operation *op; struct afs_vnode *dvnode = AFS_FS_I(dir); |
