pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit
authorTom Haynes <thomas.haynes@primarydata.com>
Tue, 17 Feb 2015 22:58:15 +0000 (14:58 -0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 18 Feb 2015 15:20:35 +0000 (07:20 -0800)
commit338d00cfef07d74a072f96821c64b20f98517d72
tree6c08180ef0e965862675a33a53ccffb8f0d59114
parent487b9b8afde60986b606b3ee05169fb893adc153
pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit

The File Layout's filelayout_mark_request_commit() is almost the
Flex File Layout's ff_layout_mark_request_commit(). And that can
be reduced by calling into nfs_request_add_commit_list().

Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c