]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfsd: fix NFS regression
authorSergio Gelato <Sergio.Gelato@astro.su.se>
Thu, 6 Nov 2014 13:05:30 +0000 (14:05 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:01:52 +0000 (19:01 +0100)
commitba1816b40a87a3f3c4ca9cd54a593a10d87bd391
tree464f69fd988473762739dc886c369431046c0b6f
parent0e8361ae716b89ea54a97050fbf9d74f6dc4292d
nfsd: fix NFS regression

Fix regression introduced in pre-3.14 kernels by cherry-picking
aa07c713ecfc0522916f3cd57ac628ea6127c0ec (NFSD: Call ->set_acl with a
NULL ACL structure if no entries). This is in v3.12.22 as commit
723ac81c8671b3a095d9eb303974c7bc9964b506.

The affected code was removed in 3.14 by commit
4ac7249ea5a0ceef9f8269f63f33cc873c3fac61 (nfsd: use get_acl
and ->set_acl). The ->set_acl methods are already able to cope with a
NULL argument. So this is not needed for >= 3.14.

Signed-off-by: Sergio Gelato <Sergio.Gelato@astro.su.se>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/nfsd/vfs.c