nfsd: notify_change needs elevated write count
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 24 Feb 2014 19:59:47 +0000 (14:59 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 Apr 2014 15:23:24 +0000 (16:23 +0100)
commit8389a2e977d9ffe5c695a9735158c9d135100080
tree1a72b43a2eeae7a217dc568b4865bfe16f487829
parent3863e89caec3c83dbeae9c3077389db6206dc8e7
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: Ben Hutchings <ben@decadent.org.uk>
fs/nfsd/vfs.c