nfsd: Revert "nfsd: special case truncates some more"
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 9 Feb 2017 19:20:42 +0000 (14:20 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 10 Feb 2017 01:49:20 +0000 (20:49 -0500)
commit0839ffb83e44e5ff1843e932592525fc2bff23ff
treeb5ac49bc5f31db6937c2333612148977efd395af
parentd5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c
nfsd: Revert "nfsd: special case truncates some more"

This patch incorrectly attempted nested mnt_want_write, and incorrectly
disabled nfsd's owner override for truncate.  We'll fix those problems
and make another attempt soon, for the moment I think the safest is to
revert.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c