From dff7028199f4b9e9270277b45b3e38303bef4f2c Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 13 Dec 2003 04:28:44 +0000 Subject: [PATCH] b=2368 fix a useless error message --- lustre/mds/mds_unlink_open.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/mds/mds_unlink_open.c b/lustre/mds/mds_unlink_open.c index 9b05cce..f6280ce 100644 --- a/lustre/mds/mds_unlink_open.c +++ b/lustre/mds/mds_unlink_open.c @@ -163,7 +163,7 @@ out_free_memmd: } static int mds_unlink_orphan(struct obd_device *obd, struct dentry *dchild, - struct inode *inode, struct inode *pending_dir) + struct inode *inode, struct inode *pending_dir) { struct mds_obd *mds = &obd->u.mds; struct mds_body *body; @@ -201,7 +201,8 @@ static int mds_unlink_orphan(struct obd_device *obd, struct dentry *dchild, } rc = vfs_unlink(pending_dir, dchild); if (rc) - CERROR("error unlinking orphan from PENDING directory"); + CERROR("error %d unlinking orphan %*s from PENDING directory\n", + rc, dchild->d_name.len, dchild->d_name.name); #ifdef ENABLE_ORPHANS if ((body->valid & OBD_MD_FLEASIZE)) { @@ -212,8 +213,7 @@ static int mds_unlink_orphan(struct obd_device *obd, struct dentry *dchild, if (handle) { int err = fsfilt_commit(obd, pending_dir, handle, 0); if (err) { - CERROR("error committing orphan unlink: %d\n", - err); + CERROR("error committing orphan unlink: %d\n", err); rc = err; GOTO(out_free_msg, rc); } -- 1.8.3.1