hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/nfs/nfs3acl.c
....@@ -108,7 +108,7 @@
108108 case -EPROTONOSUPPORT:
109109 dprintk("NFS_V3_ACL extension not supported; disabling\n");
110110 server->caps &= ~NFS_CAP_ACLS;
111
- /* fall through */
111
+ fallthrough;
112112 case -ENOTSUPP:
113113 status = -EOPNOTSUPP;
114114 default:
....@@ -222,15 +222,13 @@
222222 switch (status) {
223223 case 0:
224224 status = nfs_refresh_inode(inode, fattr);
225
- set_cached_acl(inode, ACL_TYPE_ACCESS, acl);
226
- set_cached_acl(inode, ACL_TYPE_DEFAULT, dfacl);
227225 break;
228226 case -EPFNOSUPPORT:
229227 case -EPROTONOSUPPORT:
230228 dprintk("NFS_V3_ACL SETACL RPC not supported"
231229 "(will not retry)\n");
232230 server->caps &= ~NFS_CAP_ACLS;
233
- /* fall through */
231
+ fallthrough;
234232 case -ENOTSUPP:
235233 status = -EOPNOTSUPP;
236234 }