]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
NFSD: Store parent's stat in a separate value
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 30 Jul 2015 13:51:54 +0000 (21:51 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 31 Aug 2015 19:11:05 +0000 (15:11 -0400)
commit0a2050d744037158de773be5c6f1fc468a551bae
treeddc37926efa9b50706b2e7fad3e5ef7b2e4dae88
parente538674740e632b57091f72cc06c0b03b45fb021
NFSD: Store parent's stat in a separate value

After commit ae7095a7c4 (nfsd4: helper function for getting mounted_on
ino) we ignore the return value from get_parent_attributes().

Also, the following FATTR4_WORD2_LAYOUT_BLKSIZE uses stat.blksize, so to
avoid overwriting that, use an independent value for the parent's
attributes.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c