Commit b01f21c
Trond Myklebust
NFS: Fix the setting of capabilities when automounting a new filesystem
Capabilities cannot be inherited when we cross into a new filesystem.
They need to be reset to the minimal defaults, and then probed for
again.
Fixes: 54ceac4 ("NFS: Share NFS superblocks per-protocol per-server per-FSID")
Cc: stable@vger.kernel.org
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent cc5d590 commit b01f21c
4 files changed
Lines changed: 45 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
685 | 723 | | |
686 | 724 | | |
687 | 725 | | |
| |||
726 | 764 | | |
727 | 765 | | |
728 | 766 | | |
729 | | - | |
730 | 767 | | |
731 | 768 | | |
732 | 769 | | |
| |||
762 | 799 | | |
763 | 800 | | |
764 | 801 | | |
| 802 | + | |
| 803 | + | |
765 | 804 | | |
766 | 805 | | |
767 | 806 | | |
| |||
934 | 973 | | |
935 | 974 | | |
936 | 975 | | |
937 | | - | |
938 | 976 | | |
939 | 977 | | |
940 | 978 | | |
| |||
1169 | 1207 | | |
1170 | 1208 | | |
1171 | 1209 | | |
| 1210 | + | |
| 1211 | + | |
1172 | 1212 | | |
1173 | 1213 | | |
1174 | 1214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | 1077 | | |
1096 | 1078 | | |
1097 | 1079 | | |
| |||
1110 | 1092 | | |
1111 | 1093 | | |
1112 | 1094 | | |
1113 | | - | |
| 1095 | + | |
1114 | 1096 | | |
1115 | 1097 | | |
1116 | 1098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4092 | 4092 | | |
4093 | 4093 | | |
4094 | 4094 | | |
4095 | | - | |
| 4095 | + | |
4096 | 4096 | | |
4097 | 4097 | | |
4098 | 4098 | | |
| |||
0 commit comments