From: Fred Isaman Date: Fri, 20 Apr 2012 18:47:38 +0000 (-0400) Subject: NFS4.1: Add lseg to struct nfs4_fl_commit_bucket X-Git-Tag: v3.5-rc1~52^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799ba8d53d32c84bd2a867ca2689538a48176140;p=pandora-kernel.git NFS4.1: Add lseg to struct nfs4_fl_commit_bucket Also create a commit_info structure to hold the bucket array and push it up from the lseg to the layout where it really belongs. While we are at it, fix a refcounting bug due to an (incorrect) implicit assumption that filelayout_scan_ds_commit_list always completely emptied the src list. This clarifies refcounting, removes the ugly find_only_write_lseg functions, and pushes the file layout commit code along on the path to supporting multiple lsegs. Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed