zfs_replay.c (177698) | zfs_replay.c (182371) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 347 unchanged lines hidden (view full) --- 356 lr->lr_uid, lr->lr_gid, 0, lr->lr_foid); 357 358 va.va_size = lr->lr_size; 359 ZFS_TIME_DECODE(&va.va_atime, lr->lr_atime); 360 ZFS_TIME_DECODE(&va.va_mtime, lr->lr_mtime); 361 362 vp = ZTOV(zp); 363 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 347 unchanged lines hidden (view full) --- 356 lr->lr_uid, lr->lr_gid, 0, lr->lr_foid); 357 358 va.va_size = lr->lr_size; 359 ZFS_TIME_DECODE(&va.va_atime, lr->lr_atime); 360 ZFS_TIME_DECODE(&va.va_mtime, lr->lr_mtime); 361 362 vp = ZTOV(zp); 363 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); |
364 error = VOP_SETATTR(vp, &va, kcred, curthread); | 364 error = VOP_SETATTR(vp, &va, kcred); |
365 VOP_UNLOCK(vp, 0); 366 VN_RELE(vp); 367 368 return (error); 369} 370 371static int 372zfs_replay_acl(zfsvfs_t *zfsvfs, lr_acl_t *lr, boolean_t byteswap) --- 58 unchanged lines hidden --- | 365 VOP_UNLOCK(vp, 0); 366 VN_RELE(vp); 367 368 return (error); 369} 370 371static int 372zfs_replay_acl(zfsvfs_t *zfsvfs, lr_acl_t *lr, boolean_t byteswap) --- 58 unchanged lines hidden --- |