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)
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

Simple merge