From: J. Bruce Fields Date: Fri, 20 Jun 2014 15:49:49 +0000 (-0400) Subject: nfsd: make NFSv2 null terminate symlink data X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aeae33f5d5fbd4af775e7c84795db9254d4a165;p=pandora-kernel.git nfsd: make NFSv2 null terminate symlink data It's simple enough for NFSv2 to null-terminate the symlink data. A bit weird (it depends on knowing that we've already read the following byte, which is either padding or part of the mode), but no worse than the conditional kstrdup it otherwise relies on in nfsd_symlink(). Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed