[PATCH openEuler-1.0-LTS] NFSD: check truncate permission under inode lock