summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2015-07-07 05:12:03 +0300
committerJ. Bruce Fields <bfields@redhat.com>2015-07-20 21:58:46 +0300
commitd8398fc11762d162b2e7b0f368278449899cfbdf (patch)
tree3457fc72a7b8db8d1d100e40784c21a7ef7ff02a /virt/kvm
parent28e51af7c608f661a728db9d47b33c54096fdc59 (diff)
downloadlinux-d8398fc11762d162b2e7b0f368278449899cfbdf.tar.xz
nfsd: Set lc_size_chg before ops->proc_layoutcommit
After proc_layoutcommit success, i_size_read(inode) always >= new_size. Just set lc_size_chg before proc_layoutcommit, if proc_layoutcommit failed, nfsd will skip the lc_size_chg, so it's no harm. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions