mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
[GFS2] Shrink gfs2_inode (5) - di_nlink
Remove the di_nlink field in favour of inode->i_nlink and update the nlink handling to use the proper macros. This saves 4 bytes. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
2933f9254a
commit
4f56110a00
4 changed files with 31 additions and 22 deletions
|
|
@ -322,7 +322,6 @@ struct gfs2_dinode {
|
|||
};
|
||||
|
||||
struct gfs2_dinode_host {
|
||||
__u32 di_nlink; /* number of links to this file */
|
||||
__u64 di_size; /* number of bytes in file */
|
||||
__u64 di_blocks; /* number of blocks in file */
|
||||
__u64 di_atime; /* time last accessed */
|
||||
|
|
|
|||
Loading…
Reference in a new issue