NFS: Save some space in the inode
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 28 Sep 2021 21:41:41 +0000 (17:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 09:30:03 +0000 (11:30 +0200)
commit31b992b3c39b2e1a3cfd86085ecf2b8a8730b210
tree23d29f0f081862a9fdb3bb39283f0874593c7ad6
parent88d24e83a268007564f9222b177c1381b9e794cd
NFS: Save some space in the inode

[ Upstream commit e591b298d7ecb851e200f65946e3d53fe78a3c4f ]

Save some space in the nfs_inode by setting up an anonymous union with
the fields that are peculiar to a specific type of filesystem object.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/inode.c
include/linux/nfs_fs.h