[fedfs-utils] [PATCH 03/13] nfsref: "remove -t nfs-fedfs" should remove FSLs _and_ FSN
Chuck Lever
chuck.lever at oracle.com
Fri Feb 1 09:20:09 PST 2013
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 <chuck.lever at oracle.com>
---
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",
More information about the fedfs-utils-devel
mailing list