linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 2/6] reiserfs_setattr retval fix
@ 2004-06-26 22:00 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2004-06-26 22:00 UTC (permalink / raw)
  To: mason; +Cc: shaggy, sfrench, vandrove, zippel, agruen, linux-fsdevel, akpm



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) ;
     }
 
 
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-26 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-26 22:00 [patch 2/6] reiserfs_setattr retval fix akpm

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).