diff options
author | Ricardo M. Correia <[email protected]> | 2010-01-07 16:58:30 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-01-08 09:37:54 -0800 |
commit | f7e8739c940c4175b5298de9a00c8c7974aff489 (patch) | |
tree | 4967b02f5f355d84e7f02d06cdf0e30f82bb6349 /module/spl/spl-vnode.c | |
parent | b520b14305975bc8b18d3b8e3844ba6c4e119a0d (diff) |
sun-fix-whitespace
Whitespace fixes.
Signed-off-by: Ricardo M. Correia <[email protected]>
Diffstat (limited to 'module/spl/spl-vnode.c')
-rw-r--r-- | module/spl/spl-vnode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c index 7d2080022..12e09b781 100644 --- a/module/spl/spl-vnode.c +++ b/module/spl/spl-vnode.c @@ -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); |