[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200708061317.l76DHtuB001688@dantu.rdu.redhat.com>
Date:	Tue, 24 Jul 2007 08:35:11 -0400
From:	Jeff Layton <jlayton@...hat.com>
To:	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Cc:	codalist@...EMANN.coda.cs.cmu.edu
Subject: [PATCH 06/25] coda: call attr_kill_to_mode from coda_setattr
Signed-off-by: Jeff Layton <jlayton@...hat.com>
---
 fs/coda/inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/coda/inode.c b/fs/coda/inode.c
index 342f4e0..c06d031 100644
--- a/fs/coda/inode.c
+++ b/fs/coda/inode.c
@@ -239,6 +239,7 @@ int coda_setattr(struct dentry *de, struct iattr *iattr)
 	memset(&vattr, 0, sizeof(vattr)); 
 
 	inode->i_ctime = CURRENT_TIME_SEC;
+	attr_kill_to_mode(inode, iattr);
 	coda_iattr_to_vattr(iattr, &vattr);
 	vattr.va_type = C_VNON; /* cannot set type */
 
-- 
1.5.2.2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
