Commit a647d109 authored by Kaixu Xia's avatar Kaixu Xia Committed by Darrick J. Wong

xfs: fix some comments

Fix the comments to help people understand the code.
Signed-off-by: default avatarKaixu Xia <kaixuxia@tencent.com>
[darrick: fix the indenting problems too]
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 5aff6750
...@@ -35,8 +35,8 @@ typedef struct xfs_da_blkinfo { ...@@ -35,8 +35,8 @@ typedef struct xfs_da_blkinfo {
*/ */
#define XFS_DA3_NODE_MAGIC 0x3ebe /* magic number: non-leaf blocks */ #define XFS_DA3_NODE_MAGIC 0x3ebe /* magic number: non-leaf blocks */
#define XFS_ATTR3_LEAF_MAGIC 0x3bee /* magic number: attribute leaf blks */ #define XFS_ATTR3_LEAF_MAGIC 0x3bee /* magic number: attribute leaf blks */
#define XFS_DIR3_LEAF1_MAGIC 0x3df1 /* magic number: v2 dirlf single blks */ #define XFS_DIR3_LEAF1_MAGIC 0x3df1 /* magic number: v3 dirlf single blks */
#define XFS_DIR3_LEAFN_MAGIC 0x3dff /* magic number: v2 dirlf multi blks */ #define XFS_DIR3_LEAFN_MAGIC 0x3dff /* magic number: v3 dirlf multi blks */
struct xfs_da3_blkinfo { struct xfs_da3_blkinfo {
/* /*
......
...@@ -831,8 +831,8 @@ xfs_qm_dqget_checks( ...@@ -831,8 +831,8 @@ xfs_qm_dqget_checks(
} }
/* /*
* Given the file system, id, and type (UDQUOT/GDQUOT), return a locked * Given the file system, id, and type (UDQUOT/GDQUOT/PDQUOT), return a
* dquot, doing an allocation (if requested) as needed. * locked dquot, doing an allocation (if requested) as needed.
*/ */
int int
xfs_qm_dqget( xfs_qm_dqget(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment