From 2f3e94bea605eeecec5fb5fb29bc74804be80ab3 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 5 Oct 2014 13:58:01 +0200 Subject: [PATCH] kernel/smbfs: Tabify a few lines. --- sys/vfs/smbfs/smbfs_vfsops.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/vfs/smbfs/smbfs_vfsops.c b/sys/vfs/smbfs/smbfs_vfsops.c index 73870884d3..50bbc089bc 100644 --- a/sys/vfs/smbfs/smbfs_vfsops.c +++ b/sys/vfs/smbfs/smbfs_vfsops.c @@ -141,8 +141,8 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) smb_share_unlock(ssp, 0); mp->mnt_stat.f_iosize = SSTOVC(ssp)->vc_txmax; - smp = kmalloc(sizeof(*smp), M_SMBFSDATA, M_WAITOK | M_USE_RESERVE | M_ZERO); - mp->mnt_data = (qaddr_t)smp; + smp = kmalloc(sizeof(*smp), M_SMBFSDATA, M_WAITOK | M_USE_RESERVE | M_ZERO); + mp->mnt_data = (qaddr_t)smp; smp->sm_cred = crhold(cred); smp->sm_hash = hashinit(desiredvnodes, M_SMBFSHASH, &smp->sm_hashlen); if (smp->sm_hash == NULL) @@ -150,7 +150,7 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) lockinit(&smp->sm_hashlock, "smbfsh", 0, 0); smp->sm_share = ssp; smp->sm_root = NULL; - smp->sm_args = args; + smp->sm_args = args; smp->sm_caseopt = args.caseopt; smp->sm_args.file_mode = (smp->sm_args.file_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFREG; @@ -189,7 +189,7 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) #endif return error; bad: - if (smp) { + if (smp) { if (smp->sm_cred) crfree(smp->sm_cred); if (smp->sm_hash) @@ -200,7 +200,7 @@ bad: } if (ssp) smb_share_put(ssp, &scred); - return error; + return error; } /* Unmount the filesystem described by mp. */ -- 2.41.0