namei.c (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) namei.c (c42293a951bdf315242dcf4cc673bf111c7632d8)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * (C) 2001 Clemson University and The University of Chicago
4 *
5 * See COPYING in top-level directory.
6 */
7
8/*

--- 210 unchanged lines hidden (view full) ---

219 struct dentry *dentry,
220 const char *symname)
221{
222 struct orangefs_inode_s *parent = ORANGEFS_I(dir);
223 struct orangefs_kernel_op_s *new_op;
224 struct orangefs_object_kref ref;
225 struct inode *inode;
226 struct iattr iattr;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * (C) 2001 Clemson University and The University of Chicago
4 *
5 * See COPYING in top-level directory.
6 */
7
8/*

--- 210 unchanged lines hidden (view full) ---

219 struct dentry *dentry,
220 const char *symname)
221{
222 struct orangefs_inode_s *parent = ORANGEFS_I(dir);
223 struct orangefs_kernel_op_s *new_op;
224 struct orangefs_object_kref ref;
225 struct inode *inode;
226 struct iattr iattr;
227 int mode = 755;
227 int mode = 0755;
228 int ret;
229
230 gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);
231
232 if (!symname)
233 return -EINVAL;
234
235 if (strlen(symname)+1 > ORANGEFS_NAME_MAX)

--- 207 unchanged lines hidden ---
228 int ret;
229
230 gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);
231
232 if (!symname)
233 return -EINVAL;
234
235 if (strlen(symname)+1 > ORANGEFS_NAME_MAX)

--- 207 unchanged lines hidden ---