mountd: Honor the no_root_squash flag on pseudo roots
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 29 May 2012 18:40:38 +0000 (14:40 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 29 May 2012 18:44:18 +0000 (14:44 -0400)
commiteae2fa997223ce0edb4218faf2ff67165535d21d
tree0f005e4f4f2ead66ed6d2e1d8e99b6e6badb5914
parentb66c96de551b650680a65a732a1338c3ec25b436
mountd: Honor the no_root_squash flag on pseudo roots

From: "J. Bruce Fields" <bfields@redhat.com>

If root squashing is turned off on a export that
has multiple directories, the parent directories
of the pseudo exports that's built, also needs to
have root squashing turned off.

Tested-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/v4root.c