Lines Matching refs:parent_dir
860 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()
919 journal_end(&th, parent_dir->i_sb, jbegin_count) ; in reiserfs_symlink()
925 journal_end(&th, parent_dir->i_sb, jbegin_count) ; in reiserfs_symlink()