From: Oleg Drokin on behalf of Hans Reiser <reiser@namesys.com>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org,
reiserfs-dev@namesys.com
Subject: [PATCH] 2.5 [2 of 8] 02-savelink_nospace_nowarning.diff
Date: Mon, 11 Feb 2002 17:24:45 +0300 [thread overview]
Message-ID: <20020211172445.B1768@namesys.com> (raw)
Hello!
Do not print a warning if savelink was not created due to lack of space.
--- linux/fs/reiserfs/super.c.orig Mon Feb 11 09:55:00 2002
+++ linux/fs/reiserfs/super.c Mon Feb 11 09:55:58 2002
@@ -296,10 +296,11 @@
/* put "save" link inot tree */
retval = reiserfs_insert_item (th, &path, &key, &ih, (char *)&link);
- if (retval)
- reiserfs_warning ("vs-2120: add_save_link: insert_item returned %d\n",
+ if (retval) {
+ if (retval != -ENOSPC)
+ reiserfs_warning ("vs-2120: add_save_link: insert_item returned %d\n",
retval);
- else {
+ } else {
if( truncate )
REISERFS_I(inode) -> i_flags |= i_link_saved_truncate_mask;
else
reply other threads:[~2002-02-11 14:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020211172445.B1768@namesys.com \
--to=reiser@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reiserfs-dev@namesys.com \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.