Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/reiserfs/
Dnamei.c860 static int reiserfs_symlink (struct inode * parent_dir, struct dentry * dentry, const char * symnam… in reiserfs_symlink() argument
871 if (!(inode = new_inode(parent_dir->i_sb))) { in reiserfs_symlink()
874 retval = new_inode_init(inode, parent_dir, mode) ; in reiserfs_symlink()
880 if (item_len > MAX_DIRECT_ITEM_LEN (parent_dir->i_sb->s_blocksize)) { in reiserfs_symlink()
886 name = reiserfs_kmalloc (item_len, GFP_NOFS, parent_dir->i_sb); in reiserfs_symlink()
895 journal_begin(&th, parent_dir->i_sb, jbegin_count) ; in reiserfs_symlink()
897 retval = reiserfs_new_inode(&th, parent_dir, mode, name, in reiserfs_symlink()
899 reiserfs_kfree (name, item_len, parent_dir->i_sb); in reiserfs_symlink()
905 reiserfs_update_inode_transaction(parent_dir) ; in reiserfs_symlink()
914 retval = reiserfs_add_entry (&th, parent_dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_symlink()
[all …]
/linux-2.4.37.9/fs/xfs/
Dxfs_dir.c79 struct xfs_inode *parent_dir);
232 xfs_dir_init(xfs_trans_t *trans, xfs_inode_t *dir, xfs_inode_t *parent_dir) in xfs_dir_init() argument
242 if ((error = xfs_dir_ino_validate(trans->t_mountp, parent_dir->i_ino))) in xfs_dir_init()
245 return(xfs_dir_shortform_create(&args, parent_dir->i_ino)); in xfs_dir_init()