mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
sun-fix-whitespace
Whitespace fixes. Signed-off-by: Ricardo M. Correia <Ricardo.M.Correia@Sun.COM>
This commit is contained in:
committed by
Brian Behlendorf
parent
b520b14305
commit
f7e8739c94
@@ -53,10 +53,10 @@ vcmn_err(int ce, const char *fmt, va_list ap)
|
||||
{
|
||||
char msg[MAXMSGLEN];
|
||||
|
||||
if (ce == CE_PANIC)
|
||||
vpanic(fmt, ap);
|
||||
if (ce == CE_PANIC)
|
||||
vpanic(fmt, ap);
|
||||
|
||||
if (ce != CE_NOTE) {
|
||||
if (ce != CE_NOTE) {
|
||||
vsnprintf(msg, MAXMSGLEN - 1, fmt, ap);
|
||||
|
||||
if (fmt[0] == '!')
|
||||
@@ -64,7 +64,7 @@ vcmn_err(int ce, const char *fmt, va_list ap)
|
||||
ce_prefix[ce], msg, ce_suffix[ce]);
|
||||
else
|
||||
CERROR("%s%s%s", ce_prefix[ce], msg, ce_suffix[ce]);
|
||||
}
|
||||
}
|
||||
} /* vcmn_err() */
|
||||
EXPORT_SYMBOL(vcmn_err);
|
||||
|
||||
|
||||
@@ -102,9 +102,9 @@ int
|
||||
vn_open(const char *path, uio_seg_t seg, int flags, int mode,
|
||||
vnode_t **vpp, int x1, void *x2)
|
||||
{
|
||||
struct file *fp;
|
||||
struct kstat stat;
|
||||
int rc, saved_umask = 0;
|
||||
struct file *fp;
|
||||
struct kstat stat;
|
||||
int rc, saved_umask = 0;
|
||||
vnode_t *vp;
|
||||
ENTRY;
|
||||
|
||||
@@ -126,15 +126,15 @@ vn_open(const char *path, uio_seg_t seg, int flags, int mode,
|
||||
if (flags & FCREAT)
|
||||
saved_umask = xchg(¤t->fs->umask, 0);
|
||||
|
||||
fp = filp_open(path, flags, mode);
|
||||
fp = filp_open(path, flags, mode);
|
||||
|
||||
if (flags & FCREAT)
|
||||
(void)xchg(¤t->fs->umask, saved_umask);
|
||||
|
||||
if (IS_ERR(fp))
|
||||
if (IS_ERR(fp))
|
||||
RETURN(-PTR_ERR(fp));
|
||||
|
||||
rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
|
||||
rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
|
||||
if (rc) {
|
||||
filp_close(fp, 0);
|
||||
RETURN(-rc);
|
||||
|
||||
Reference in New Issue
Block a user