]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd4: fix discarded security labels on setattr
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Nov 2013 14:42:15 +0000 (10:42 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Nov 2013 17:40:46 +0000 (13:40 -0400)
commit3378b7f40d79930f0f447a164c7e8fcbe4480e40
tree53e664508641b62b6766861f2551c1320c95388b
parent8217d146ab98a1790349d79c436176658e311e3c
nfsd4: fix discarded security labels on setattr

Security labels in setattr calls are currently ignored because we forget
to set label->len.

Cc: stable@vger.kernel.org
Reported-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c