taglinefilesource code
new_inode721fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode726fs/ext/namei.cnew_inode->i_count++;
new_inode729fs/ext/namei.cif (new_inode == old_inode) {
new_inode733fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode735fs/ext/namei.cino = new_inode->i_ino;
new_inode736fs/ext/namei.cif (ext_lookup(new_inode,"..",2,&new_inode))
new_inode738fs/ext/namei.cif (new_inode->i_ino == ino)
new_inode741fs/ext/namei.ciput(new_inode);
new_inode766fs/ext/namei.cstruct inode * old_inode, * new_inode;
new_inode777fs/ext/namei.ciput(new_inode);
new_inode781fs/ext/namei.cold_inode = new_inode = NULL;
new_inode797fs/ext/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */
new_inode798fs/ext/namei.cif (!new_inode) {
new_inode803fs/ext/namei.cif (new_inode == old_inode) {
new_inode807fs/ext/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode812fs/ext/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode813fs/ext/namei.ccurrent->euid != new_inode->i_uid &&
new_inode839fs/ext/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode841fs/ext/namei.cif (new_de->inode && !new_inode)
new_inode850fs/ext/namei.cif (new_inode) {
new_inode851fs/ext/namei.cnew_inode->i_nlink--;
new_inode852fs/ext/namei.cnew_inode->i_dirt = 1;
new_inode870fs/ext/namei.ciput(new_inode);
new_inode841fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
new_inode846fs/ext2/namei.cnew_inode->i_count++;
new_inode849fs/ext2/namei.cif (new_inode == old_inode) {
new_inode853fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode855fs/ext2/namei.cino = new_inode->i_ino;
new_inode856fs/ext2/namei.cif (ext2_lookup (new_inode, "..", 2, &new_inode))
new_inode858fs/ext2/namei.cif (new_inode->i_ino == ino)
new_inode861fs/ext2/namei.ciput (new_inode);
new_inode888fs/ext2/namei.cstruct inode * old_inode, * new_inode;
new_inode901fs/ext2/namei.ciput (new_inode);
new_inode905fs/ext2/namei.cold_inode = new_inode = NULL;
new_inode922fs/ext2/namei.cnew_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */
new_inode923fs/ext2/namei.cif (!new_inode) {
new_inode928fs/ext2/namei.cif (new_inode == old_inode) {
new_inode932fs/ext2/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode940fs/ext2/namei.cif (!empty_dir (new_inode))
new_inode943fs/ext2/namei.cif (new_inode->i_count > 1)
new_inode947fs/ext2/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) &&
new_inode948fs/ext2/namei.ccurrent->euid != new_inode->i_uid &&
new_inode953fs/ext2/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode964fs/ext2/namei.cif (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX)
new_inode973fs/ext2/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode975fs/ext2/namei.cif (new_de->inode && !new_inode)
new_inode992fs/ext2/namei.cif (new_inode) {
new_inode993fs/ext2/namei.cnew_inode->i_nlink--;
new_inode994fs/ext2/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode995fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1014fs/ext2/namei.cif (new_inode) {
new_inode1015fs/ext2/namei.cnew_inode->i_nlink--;
new_inode1016fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1028fs/ext2/namei.ciput (new_inode);
new_inode634fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode639fs/minix/namei.cnew_inode->i_count++;
new_inode642fs/minix/namei.cif (new_inode == old_inode) {
new_inode646fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode648fs/minix/namei.cino = new_inode->i_ino;
new_inode649fs/minix/namei.cif (minix_lookup(new_inode,"..",2,&new_inode))
new_inode651fs/minix/namei.cif (new_inode->i_ino == ino)
new_inode654fs/minix/namei.ciput(new_inode);
new_inode674fs/minix/namei.cstruct inode * old_inode, * new_inode;
new_inode687fs/minix/namei.ciput(new_inode);
new_inode691fs/minix/namei.cold_inode = new_inode = NULL;
new_inode707fs/minix/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode708fs/minix/namei.cif (!new_inode) {
new_inode713fs/minix/namei.cif (new_inode == old_inode) {
new_inode717fs/minix/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode725fs/minix/namei.cif (!empty_dir(new_inode))
new_inode728fs/minix/namei.cif (new_inode->i_count > 1)
new_inode732fs/minix/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode733fs/minix/namei.ccurrent->euid != new_inode->i_uid &&
new_inode738fs/minix/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode750fs/minix/namei.cif (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX)
new_inode759fs/minix/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode761fs/minix/namei.cif (new_de->inode && !new_inode)
new_inode772fs/minix/namei.cif (new_inode) {
new_inode773fs/minix/namei.cnew_inode->i_nlink--;
new_inode774fs/minix/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode775fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode784fs/minix/namei.cif (new_inode) {
new_inode785fs/minix/namei.cnew_inode->i_nlink--;
new_inode786fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode798fs/minix/namei.ciput(new_inode);
new_inode402fs/msdos/namei.cstruct inode *new_inode,*old_inode;
new_inode412fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode416fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode417fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode420fs/msdos/namei.ciput(new_inode);
new_inode424fs/msdos/namei.cif (S_ISDIR(new_inode->i_mode)) {
new_inode428fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode429fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode430fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode433fs/msdos/namei.ciput(new_inode);
new_inode453fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
new_inode486fs/msdos/namei.cnew_inode = NULL; /* to make GCC happy */
new_inode488fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode493fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode494fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode497fs/msdos/namei.ciput(new_inode);
new_inode502fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode503fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode504fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode515fs/msdos/namei.ciput(new_inode);
new_inode520fs/msdos/namei.cif (exists && S_ISDIR(new_inode->i_mode)) {
new_inode533fs/msdos/namei.cMSDOS_I(new_inode)->i_depend = free_inode;
new_inode534fs/msdos/namei.cMSDOS_I(free_inode)->i_old = new_inode;
new_inode536fs/msdos/namei.ciput(new_inode);
new_inode674fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode679fs/xiafs/namei.cnew_inode->i_count++;
new_inode682fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode686fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode688fs/xiafs/namei.cino = new_inode->i_ino;
new_inode689fs/xiafs/namei.cif (xiafs_lookup(new_inode,"..",2,&new_inode))
new_inode691fs/xiafs/namei.cif (new_inode->i_ino == ino)
new_inode694fs/xiafs/namei.ciput(new_inode);
new_inode715fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
new_inode721fs/xiafs/namei.cold_inode = new_inode = NULL;
new_inode737fs/xiafs/namei.cnew_inode = __iget(new_dir->i_sb, new_de->d_ino, 0);
new_inode738fs/xiafs/namei.cif (!new_inode) {
new_inode743fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode747fs/xiafs/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode752fs/xiafs/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode753fs/xiafs/namei.ccurrent->euid != new_inode->i_uid &&
new_inode782fs/xiafs/namei.cif ( (new_inode && (new_de->d_ino != new_inode->i_ino))
new_inode783fs/xiafs/namei.c|| (new_de->d_ino && !new_inode)
new_inode790fs/xiafs/namei.ciput(new_inode);
new_inode797fs/xiafs/namei.cif (new_inode) {
new_inode798fs/xiafs/namei.cnew_inode->i_nlink--;
new_inode799fs/xiafs/namei.cnew_inode->i_dirt = 1;
new_inode817fs/xiafs/namei.ciput(new_inode);