]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix an Oops in the synchronous write path
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Dec 2005 20:20:21 +0000 (15:20 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Dec 2005 20:20:21 +0000 (15:20 -0500)
commite07b6adb2762a7badd13641fe31dd497dd7edc07
tree59e58509dc8e59e9302e94b17b7f8e22568df7c7
parentef30eb42a71ba8d30b89289c56bc3343d2fffefe
NFSv4: Fix an Oops in the synchronous write path

 - Missing initialisation of attribute bitmask in _nfs4_proc_write()
 - On success, _nfs4_proc_write() must return number of bytes written.
 - Missing post_op_update_inode() in _nfs4_proc_write()
 - Missing initialisation of attribute bitmask in _nfs4_proc_commit()
 - Missing post_op_update_inode() in _nfs4_proc_commit()

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c