SCCS-vsn: sys/ufs/lfs/lfs_inode.c 7.50
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)lfs_inode.c 7.49 (Berkeley) %G%
+ * @(#)lfs_inode.c 7.50 (Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
ufs_ihashins(ip);
/* Read in the disk contents for the inode, copy into the inode. */
ufs_ihashins(ip);
/* Read in the disk contents for the inode, copy into the inode. */
+ ip->i_lfs = fs = ump->um_lfs;
if (error = bread(ump->um_devvp, lfs_itod(fs, ino),
(int)fs->lfs_bsize, NOCRED, &bp)) {
/*
if (error = bread(ump->um_devvp, lfs_itod(fs, ino),
(int)fs->lfs_bsize, NOCRED, &bp)) {
/*
/*
* Finish inode initialization now that aliasing has been resolved.
*/
/*
* Finish inode initialization now that aliasing has been resolved.
*/
- ip = VTOI(vp);
- ip->i_lfs = ump->um_lfs;
ip->i_devvp = ump->um_devvp;
VREF(ip->i_devvp);
*vpp = vp;
ip->i_devvp = ump->um_devvp;
VREF(ip->i_devvp);
*vpp = vp;
return (0);
if (ip->i_flag&IACC)
ip->i_atime = ta->tv_sec;
return (0);
if (ip->i_flag&IACC)
ip->i_atime = ta->tv_sec;
ip->i_mtime = tm->tv_sec;
ip->i_mtime = tm->tv_sec;
+ INCRQUAD((ip)->i_modrev);
+ }
if (ip->i_flag&ICHG)
ip->i_ctime = time.tv_sec;
ip->i_flag &= ~(IUPD|IACC|ICHG|IMOD);
if (ip->i_flag&ICHG)
ip->i_ctime = time.tv_sec;
ip->i_flag &= ~(IUPD|IACC|ICHG|IMOD);