namei.c (6ceaf7818f266d917ed61338885ddd2b77008f06) | namei.c (c62da5853de5564e367932185500f96ab70a6f7c) |
---|---|
1/* 2 * (C) 2001 Clemson University and The University of Chicago 3 * 4 * See COPYING in top-level directory. 5 */ 6 7/* 8 * Linux VFS namei operations. --- 255 unchanged lines hidden (view full) --- 264 int mode = 755; 265 int ret; 266 267 gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__); 268 269 if (!symname) 270 return -EINVAL; 271 | 1/* 2 * (C) 2001 Clemson University and The University of Chicago 3 * 4 * See COPYING in top-level directory. 5 */ 6 7/* 8 * Linux VFS namei operations. --- 255 unchanged lines hidden (view full) --- 264 int mode = 755; 265 int ret; 266 267 gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__); 268 269 if (!symname) 270 return -EINVAL; 271 |
272 if (strlen(symname)+1 > ORANGEFS_NAME_MAX) 273 return -ENAMETOOLONG; 274 |
|
272 new_op = op_alloc(ORANGEFS_VFS_OP_SYMLINK); 273 if (!new_op) 274 return -ENOMEM; 275 276 new_op->upcall.req.sym.parent_refn = parent->refn; 277 278 fill_default_sys_attrs(new_op->upcall.req.sym.attributes, 279 ORANGEFS_TYPE_SYMLINK, --- 180 unchanged lines hidden --- | 275 new_op = op_alloc(ORANGEFS_VFS_OP_SYMLINK); 276 if (!new_op) 277 return -ENOMEM; 278 279 new_op->upcall.req.sym.parent_refn = parent->refn; 280 281 fill_default_sys_attrs(new_op->upcall.req.sym.attributes, 282 ORANGEFS_TYPE_SYMLINK, --- 180 unchanged lines hidden --- |