linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: akpm@osdl.org
To: mason@suse.com
Cc: shaggy@austin.ibm.com, sfrench@us.ibm.com, vandrove@vc.cvut.cz,
	zippel@linux-m68k.org, agruen@suse.de,
	linux-fsdevel@vger.kernel.org, akpm@osdl.org
Subject: [patch 2/6] reiserfs_setattr retval fix
Date: Sat, 26 Jun 2004 15:00:28 -0700	[thread overview]
Message-ID: <200406262201.i5QM1NZ06633@mail.osdl.org> (raw)



reiserfs() is also dropping inode_setattr() retvals on the floor.

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/reiserfs/inode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/reiserfs/inode.c~reiserfs_setattr-retval-fix fs/reiserfs/inode.c
--- 25/fs/reiserfs/inode.c~reiserfs_setattr-retval-fix	2004-06-26 14:39:37.612995640 -0700
+++ 25-akpm/fs/reiserfs/inode.c	2004-06-26 14:39:55.403291104 -0700
@@ -2695,7 +2695,7 @@ int reiserfs_setattr(struct dentry *dent
                     error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0;
         }
         if (!error)
-            inode_setattr(inode, attr) ;
+            error = inode_setattr(inode, attr) ;
     }
 
 
_

                 reply	other threads:[~2004-06-26 22:02 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=200406262201.i5QM1NZ06633@mail.osdl.org \
    --to=akpm@osdl.org \
    --cc=agruen@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mason@suse.com \
    --cc=sfrench@us.ibm.com \
    --cc=shaggy@austin.ibm.com \
    --cc=vandrove@vc.cvut.cz \
    --cc=zippel@linux-m68k.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).