]> git.karo-electronics.de Git - linux-beck.git/commit
pNFS/files: filelayout_write_done_cb must call nfs_writeback_update_inode()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 21 Jul 2016 13:43:43 +0000 (09:43 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 21 Jul 2016 13:46:42 +0000 (09:46 -0400)
commite033fb51ebb2983ee17b4a1b96ccbaedb137d9e9
tree8f2b13c16a4b01b3ce6b5fd16baa9f578f72535c
parent10b7e9ad44881fcd46ac24eb7374377c6e8962ed
pNFS/files: filelayout_write_done_cb must call nfs_writeback_update_inode()

All write callbacks are required to call nfs_writeback_update_inode() upon
success to ensure that file size changes are recorded, and the attribute
cache is invalidated.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c