rpms/nfs-utils/devel nfs-utils-1.0.12-mtab-mis-unlock.patch, NONE, 1.1 nfs-utils.spec, 1.133, 1.134
Steve Dickson (steved)
fedora-extras-commits at redhat.com
Thu May 10 20:15:36 UTC 2007
- Previous message (by thread): rpms/perl-mecab/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
- Next message (by thread): rpms/vegastrike/devel vegastrike-0.4.3-ppc.patch, NONE, 1.1 vegastrike.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: steved
Update of /cvs/pkgs/rpms/nfs-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26954
Modified Files:
nfs-utils.spec
Added Files:
nfs-utils-1.0.12-mtab-mis-unlock.patch
Log Message:
Added missing unlock_mtab() call in moutnd
nfs-utils-1.0.12-mtab-mis-unlock.patch:
--- NEW FILE nfs-utils-1.0.12-mtab-mis-unlock.patch ---
commit b028b29dc9f4b67e55cc8e0e91d2c0e2457564ed
Author: Steve Dickson <steved at redhat.com>
Date: Thu May 10 16:02:15 2007 -0400
Added missing unlock_mtab() call in the add_mtab()
routine.
Signed-off-by: Steve Dickson <steved at redhat.com>
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 3831415..d3156b2 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -211,6 +211,7 @@ int add_mtab(char *fsname, char *mount_point, char *fstype, int flags, char *opt
lock_mtab();
if ((mtab = setmntent(MOUNTED, "a+")) == NULL) {
+ unlock_mtab();
fprintf(stderr, "Can't open " MOUNTED);
return 1;
}
Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -r1.133 -r1.134
--- nfs-utils.spec 10 May 2007 19:14:01 -0000 1.133
+++ nfs-utils.spec 10 May 2007 20:11:57 -0000 1.134
@@ -50,6 +50,7 @@
Patch83: nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch
Patch84: nfs-utils-1.0.12-mountd-memleak.patch
Patch85: nfs-utils-1.0.12-nfsd-macargs.patch
+Patch86: nfs-utils-1.0.12-mtab-mis-unlock.patch
%if %{enablefscache}
Patch90: nfs-utils-1.0.9-mount-fsc.patch
@@ -125,6 +126,7 @@
%patch83 -p1
%patch84 -p1
%patch85 -p1
+%patch86 -p1
%if %{enablefscache}
%patch90 -p1
%endif
@@ -317,6 +319,7 @@
- Make sure statd uses correct uid/gid by chowning
the /var/lib/nfs/statd with the rpcuser id. (bz 235216)
- Correct some sanity checking in rpc.nfsd. (bz 220887)
+- Added missing unlock_mtab() call in moutnd
* Tue Apr 3 2007 Steve Dickson <steved at redhat.com> 1.0.12-4
- Replace portmap dependency with an rpcbind dependency (bz 228894)
- Previous message (by thread): rpms/perl-mecab/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
- Next message (by thread): rpms/vegastrike/devel vegastrike-0.4.3-ppc.patch, NONE, 1.1 vegastrike.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list