[pnfs] CVS: nfsv4
Rahul Iyer NetApp
iyer at citi.umich.edu
Tue Jan 30 16:24:58 EST 2007
CVSROOT: /cvs
Module name: nfsv4
Changes by: iyer at citi.umich.edu 2007/01/30 16:24:58
Modified files:
cvs/pnfs/fs/nfs: nfs4filelayout.c
Log message:
In virtual_update_layout, the roc_iomode field of the layout is set to the
iomode of the layout if the return_on_close flag is set in the LAYOUTGET
response. If this flag is not set, then roc_iomode remains unnasigned causing
the client to arbitrarily return the layout on close (based on the random value
in the unassigned roc_iomode field). Changing the kmalloc in layout allocation
to kzalloc to fix this and catch other such bugs.
More information about the pNFS
mailing list