nfs: clean up nfs_direct_IO
authorPeng Tao <tao.peng@primarydata.com>
Tue, 20 Jan 2015 16:20:11 +0000 (00:20 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 13 Mar 2015 13:05:25 +0000 (09:05 -0400)
commit2854475f6c612d59901d51c358abd05643278b53
tree40b89df67f9f04b080ba4fdd553cbcfbcea99009
parent55cc1d7806cd4827d38a18ddf3bcf04706758218
nfs: clean up nfs_direct_IO

This follows up "nfs: fix dio deadlock when O_DIRECT flag is flipped"
and removes the unnecessary CONFIG_NFS_SWAP switch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c