From: Perry Ruiter Date: Sun, 13 Sep 2015 15:53:22 +0000 (-0700) Subject: SOLARIS: Minor whitespace corrections X-Git-Tag: upstream/1.8.0_pre1^2~226 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f8bf8221db919521ecabea20c4c8e496fb423ef4;p=packages%2Fo%2Fopenafs.git SOLARIS: Minor whitespace corrections Fix some incorrectly indented code in osi_file.c Change-Id: I75a8ec18bfef13bb05a99f84b2cfbfae34fcd440 Reviewed-on: http://gerrit.openafs.org/12017 Tested-by: BuildBot Reviewed-by: Marcio Brito Barbosa Reviewed-by: Andrew Deason Reviewed-by: Jeffrey Altman --- diff --git a/src/afs/SOLARIS/osi_file.c b/src/afs/SOLARIS/osi_file.c index 4a4f79e28..b4380f372 100644 --- a/src/afs/SOLARIS/osi_file.c +++ b/src/afs/SOLARIS/osi_file.c @@ -178,17 +178,17 @@ osi_UfsOpen(afs_dcache_id_t *ainode) afile = osi_AllocSmallSpace(sizeof(struct osi_file)); AFS_GUNLOCK(); -/* - * AFS_CACHE_VNODE_PATH can be used with any file system, including ZFS or tmpfs. - * The ainode is not an inode number but a path. - */ + /* + * AFS_CACHE_VNODE_PATH can be used with any file system, including ZFS or tmpfs. + * The ainode is not an inode number but a path. + */ #ifdef AFS_CACHE_VNODE_PATH - /* Can not use vn_open or lookupname, they use user's CRED() - * We need to run as root So must use low level lookuppnvp - * assume fname starts with / - */ + /* Can not use vn_open or lookupname, they use user's CRED() + * We need to run as root So must use low level lookuppnvp + * assume fname starts with / + */ - code = pn_get_buf(ainode->ufs, AFS_UIOSYS, &lookpn, namebuf, sizeof(namebuf)); + code = pn_get_buf(ainode->ufs, AFS_UIOSYS, &lookpn, namebuf, sizeof(namebuf)); if (code != 0) osi_Panic("UfsOpen: pn_get_buf failed %ld %s", code, ainode->ufs);