lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 17 May 2022 15:37:43 +0530 From: Dharmendra Singh <dharamhans87@...il.com> To: miklos@...redi.hu, vgoyal@...hat.com Cc: Dharmendra Singh <dharamhans87@...il.com>, linux-fsdevel@...r.kernel.org, fuse-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org, bschubert@....com, Dharmendra Singh <dsingh@....com> Subject: [PATCH v5 2/3] FUSE: Rename fuse_create_open() to fuse_atomic_common() This patch just changes function name as it is used in next patch to make code better readable. Signed-off-by: Dharmendra Singh <dsingh@....com> --- fs/fuse/dir.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index ed9da8d6b57b..517c9add014d 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -521,9 +521,9 @@ static int get_security_context(struct dentry *entry, umode_t mode, * If the filesystem doesn't support this, then fall back to separate * 'mknod' + 'open' requests. */ -static int fuse_create_open(struct inode *dir, struct dentry *entry, - struct file *file, unsigned int flags, - umode_t mode, uint32_t opcode) +static int fuse_atomic_common(struct inode *dir, struct dentry *entry, + struct file *file, unsigned int flags, + umode_t mode, uint32_t opcode) { int err; struct inode *inode; @@ -674,8 +674,8 @@ static int fuse_create_ext(struct inode *dir, struct dentry *entry, if (fc->no_create_ext) return -ENOSYS; - err = fuse_create_open(dir, entry, file, flags, mode, - FUSE_CREATE_EXT); + err = fuse_atomic_common(dir, entry, file, flags, mode, + FUSE_CREATE_EXT); /* If ext create is not implemented then indicate in fc so that next * request falls back to normal create instead of going into libufse and * returning with -ENOSYS. @@ -723,8 +723,8 @@ static int fuse_atomic_open(struct inode *dir, struct dentry *entry, if (err == -ENOSYS) goto lookup; } else - err = fuse_create_open(dir, entry, file, flags, mode, - FUSE_CREATE); + err = fuse_atomic_common(dir, entry, file, flags, mode, + FUSE_CREATE); if (err == -ENOSYS) { fc->no_create = 1; goto mknod; -- 2.17.1
Powered by blists - more mailing lists