namei.c (1d33369db25eb7f37b7a8bd22d736888b4501a9c) | namei.c (804b1737d71253f01621d2a37a0dce6279a2d440) |
---|---|
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. --- 58 unchanged lines hidden (view full) --- 67 gossip_debug(GOSSIP_NAME_DEBUG, 68 "%s: Assigned inode :%pU: for file :%pd:\n", 69 __func__, 70 get_khandle_from_ino(inode), 71 dentry); 72 73 d_instantiate(dentry, inode); 74 unlock_new_inode(inode); | 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. --- 58 unchanged lines hidden (view full) --- 67 gossip_debug(GOSSIP_NAME_DEBUG, 68 "%s: Assigned inode :%pU: for file :%pd:\n", 69 __func__, 70 get_khandle_from_ino(inode), 71 dentry); 72 73 d_instantiate(dentry, inode); 74 unlock_new_inode(inode); |
75 dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; | 75 orangefs_set_timeout(dentry); |
76 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 77 78 gossip_debug(GOSSIP_NAME_DEBUG, 79 "%s: dentry instantiated for %pd\n", 80 __func__, 81 dentry); 82 83 SetMtimeFlag(parent); --- 94 unchanged lines hidden (view full) --- 178 goto out; 179 } 180 181 /* must be a non-recoverable error */ 182 res = ERR_PTR(ret); 183 goto out; 184 } 185 | 76 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 77 78 gossip_debug(GOSSIP_NAME_DEBUG, 79 "%s: dentry instantiated for %pd\n", 80 __func__, 81 dentry); 82 83 SetMtimeFlag(parent); --- 94 unchanged lines hidden (view full) --- 178 goto out; 179 } 180 181 /* must be a non-recoverable error */ 182 res = ERR_PTR(ret); 183 goto out; 184 } 185 |
186 dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; | 186 orangefs_set_timeout(dentry); |
187 188 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); 189 if (IS_ERR(inode)) { 190 gossip_debug(GOSSIP_NAME_DEBUG, 191 "error %ld from iget\n", PTR_ERR(inode)); 192 res = ERR_CAST(inode); 193 goto out; 194 } --- 122 unchanged lines hidden (view full) --- 317 } 318 319 gossip_debug(GOSSIP_NAME_DEBUG, 320 "Assigned symlink inode new number of %pU\n", 321 get_khandle_from_ino(inode)); 322 323 d_instantiate(dentry, inode); 324 unlock_new_inode(inode); | 187 188 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); 189 if (IS_ERR(inode)) { 190 gossip_debug(GOSSIP_NAME_DEBUG, 191 "error %ld from iget\n", PTR_ERR(inode)); 192 res = ERR_CAST(inode); 193 goto out; 194 } --- 122 unchanged lines hidden (view full) --- 317 } 318 319 gossip_debug(GOSSIP_NAME_DEBUG, 320 "Assigned symlink inode new number of %pU\n", 321 get_khandle_from_ino(inode)); 322 323 d_instantiate(dentry, inode); 324 unlock_new_inode(inode); |
325 dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; | 325 orangefs_set_timeout(dentry); |
326 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 327 328 gossip_debug(GOSSIP_NAME_DEBUG, 329 "Inode (Symlink) %pU -> %pd\n", 330 get_khandle_from_ino(inode), 331 dentry); 332 333 SetMtimeFlag(parent); --- 47 unchanged lines hidden (view full) --- 381 } 382 383 gossip_debug(GOSSIP_NAME_DEBUG, 384 "Assigned dir inode new number of %pU\n", 385 get_khandle_from_ino(inode)); 386 387 d_instantiate(dentry, inode); 388 unlock_new_inode(inode); | 326 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 327 328 gossip_debug(GOSSIP_NAME_DEBUG, 329 "Inode (Symlink) %pU -> %pd\n", 330 get_khandle_from_ino(inode), 331 dentry); 332 333 SetMtimeFlag(parent); --- 47 unchanged lines hidden (view full) --- 381 } 382 383 gossip_debug(GOSSIP_NAME_DEBUG, 384 "Assigned dir inode new number of %pU\n", 385 get_khandle_from_ino(inode)); 386 387 d_instantiate(dentry, inode); 388 unlock_new_inode(inode); |
389 dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; | 389 orangefs_set_timeout(dentry); |
390 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 391 392 gossip_debug(GOSSIP_NAME_DEBUG, 393 "Inode (Directory) %pU -> %pd\n", 394 get_khandle_from_ino(inode), 395 dentry); 396 397 /* --- 74 unchanged lines hidden --- | 390 ORANGEFS_I(inode)->getattr_time = jiffies - 1; 391 392 gossip_debug(GOSSIP_NAME_DEBUG, 393 "Inode (Directory) %pU -> %pd\n", 394 get_khandle_from_ino(inode), 395 dentry); 396 397 /* --- 74 unchanged lines hidden --- |