]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
NFS: Clean up do_callback_layoutrecall()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 7 Apr 2017 18:14:55 +0000 (14:14 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 17:39:32 +0000 (13:39 -0400)
commit1a916ce0497847ce4a1b21c63383a3653c613055
treec422ff561bc2fe2d97c6f17510d1d0bc920c794a
parenta7878ca140084ec267ede48fce64d7e60f6d873e
NFS: Clean up do_callback_layoutrecall()

Removing the dprintk()s lets us simplify the function by removing the
else condition entirely and returning the status of
initiate_{file,bulk}_draining() directly.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c