[syslinux:elflink] xfs: Use xfs_debug() for "Entry not found!" message

syslinux-bot for Paulo Alcantara pcacjr at zytor.com
Tue Nov 27 12:57:17 PST 2012


Commit-ID:  783575baac3bcc3d3f603c35af3c7be4bfe2420a
Gitweb:     http://www.syslinux.org/commit/783575baac3bcc3d3f603c35af3c7be4bfe2420a
Author:     Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Mon, 23 Jul 2012 11:55:30 -0300
Committer:  Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Mon, 23 Jul 2012 11:55:30 -0300

xfs: Use xfs_debug() for "Entry not found!" message

Printing "Entry not found!" as an error message does not make any sense,
so use xfs_debug() for printing it out instead.

Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>

---
 core/fs/xfs/xfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c
index 9107024..3c0568e 100644
--- a/core/fs/xfs/xfs.c
+++ b/core/fs/xfs/xfs.c
@@ -901,8 +901,8 @@ static struct inode *xfs_iget(const char *dname, struct inode *parent)
     }
 
     if (!inode) {
-        xfs_error("Entry not found!");
-        goto out;
+	xfs_debug("Entry not found!");
+	goto out;
     }
 
     if (inode->mode == DT_REG) {


More information about the Syslinux-commits mailing list