[pnfs] [PATCH 03/37] pnfs: initialize args.new_layout in pnfs_layoutcommit_setup

Benny Halevy bhalevy at panasas.com
Tue Jan 1 05:49:24 EST 2008


Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 fs/nfs/pnfs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 90e0a48..7514472 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -1447,6 +1447,7 @@ pnfs_layoutcommit_setup(struct pnfs_layoutcommit_data *data, int sync)
 	 * the actual size of an updated layout.
 	 */
 	data->args.new_layout_size = 0;
+	data->args.new_layout = NULL;
 
 	/* TODO: Need to determine the correct values */
 	data->args.time_modify_changed = 0;
-- 
1.5.3.3



More information about the pNFS mailing list