From patchwork Fri Feb 1 17:20:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [03/13] nfsref: "remove -t nfs-fedfs" should remove FSLs _and_ FSN From: Chuck Lever X-Patchwork-Id: 217531 Message-Id: <20130201172009.63192.66455.stgit@seurat.1015granger.net> To: fedfs-utils-devel@oss.oracle.com Date: Fri, 01 Feb 2013 12:20:09 -0500 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 --- 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",