This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/gfs2-kernel/src/gfs2 inode.c
- From: bmarzins at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 13 Sep 2005 22:48:13 -0000
- Subject: cluster/gfs2-kernel/src/gfs2 inode.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: bmarzins@sourceware.org 2005-09-13 22:48:13
Modified files:
gfs2-kernel/src/gfs2: inode.c
Log message:
When you copy an suid root file to gfs, you start a transaction on the
write and then make a vfs call that eventaully tries to start another
transaction for changing the file attributes. This cause gfs to print a
warning and not get the attributes right.
After this change, if you already have a transaction started in
gfs2_setattr_simple, instead of failing the warning assert, you simply use
the existing transaction.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/gfs2-kernel/src/gfs2/inode.c.diff?cvsroot=cluster&r1=1.33&r2=1.34