mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
[XFS] kill XFS_DINODE_VERSION_ defines
These names don't add any value at all over just using the numerical values. (First sent on October 9th) Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Niv Sardi <xaiki@sgi.com>
This commit is contained in:
parent
81591fe2db
commit
51ce16d519
7 changed files with 20 additions and 25 deletions
|
@ -321,9 +321,9 @@ xfs_ialloc_ag_alloc(
|
|||
* able to use the file system.
|
||||
*/
|
||||
if (xfs_sb_version_hasnlink(&args.mp->m_sb))
|
||||
version = XFS_DINODE_VERSION_2;
|
||||
version = 2;
|
||||
else
|
||||
version = XFS_DINODE_VERSION_1;
|
||||
version = 1;
|
||||
|
||||
/*
|
||||
* Seed the new inode cluster with a random generation number. This
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue