Currently "nfsref remove -t nfs-fedfs" removes just the FSLs of
the FSN listed in the junction.  It should also remove that FSN.

Introduced by commit d4550c62 "nfsref: "nfsref remove" should remove
FSN found in junction", Thu Oct 11 14:58:33 2012.

Signed-off-by: Chuck Lever <[email protected]>
---

 src/nfsref/remove.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nfsref/remove.c b/src/nfsref/remove.c
index f7da1fc..3e1fad7 100644
--- a/src/nfsref/remove.c
+++ b/src/nfsref/remove.c
@@ -209,7 +209,7 @@ nfsref_remove_delete_fsn(const char *junct_path)
                goto out_free;
        }
 
-       retval = nsdb_delete_fsn_s(host, nce, fsn_uuid, true, &ldap_err);
+       retval = nsdb_delete_fsn_s(host, nce, fsn_uuid, false, &ldap_err);
        switch (retval) {
        case FEDFS_OK:
                printf("Successfully deleted FSL records for FSN %s under %s\n",


_______________________________________________
fedfs-utils-devel mailing list
[email protected]
https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel

Reply via email to