nfsd: notify_change needs elevated write count
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 24 Feb 2014 19:59:47 +0000 (14:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 May 2014 14:59:27 +0000 (07:59 -0700)
commitf7cffcfc0ffd809f1f6e0c679888cb378984716a
treeb97f262677ea9e9f0bec94c5c22849b805e32c38
parent725e71de82a2ab297c35819ded9c88eef012eaf8
nfsd: notify_change needs elevated write count

commit 9f67f189939eccaa54f3d2c9cf10788abaf2d584 upstream.

Looks like this bug has been here since these write counts were
introduced, not sure why it was just noticed now.

Thanks also to Jan Kara for pointing out the problem.

Reported-by: Matthew Rahtz <mrahtz@rapitasystems.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/vfs.c