diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2013-06-28 02:25:07 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-06-28 22:13:59 +0400 |
commit | 113a56835d938d5cf9b4599053da7afb80d6f710 (patch) | |
tree | 9809139a59790d62d48218d1e1cd305f85ae2e8c /fs/xfs/xfs_symlink.c | |
parent | 995961c4510460d9eef9b5ae46789aa2315545fe (diff) | |
download | linux-113a56835d938d5cf9b4599053da7afb80d6f710.tar.xz |
xfs: Code cleanup and removal of some typedef usage
In preparation for combined pquota/gquota support, for the sake
of readability, do some code cleanup surrounding the affected
code.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_symlink.c')
-rw-r--r-- | fs/xfs/xfs_symlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index 738c04be2019..e830fb56e27f 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c @@ -358,7 +358,8 @@ xfs_symlink( int n; xfs_buf_t *bp; prid_t prid; - struct xfs_dquot *udqp, *gdqp; + struct xfs_dquot *udqp = NULL; + struct xfs_dquot *gdqp = NULL; uint resblks; *ipp = NULL; |