pNFS/flexfiles: Clean up calls to pnfs_set_layoutcommit()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 26 Jun 2016 20:14:40 +0000 (16:14 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 5 Jul 2016 22:52:26 +0000 (18:52 -0400)
commitbc28e1c2e3c8a4c5198ebfd8bbae0afd73dfafd5
treeb3b8c59807cfecf75780b8402fb99dcf524e2759
parentc001c87a63aa2f35358e33eb05e45e4cbcb34f54
pNFS/flexfiles: Clean up calls to pnfs_set_layoutcommit()

Let's just have one place where we check ff_layout_need_layoutcommit().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c