SOURCES (LINUX_2_6_22): linux-2.6-vs2.3.patch - merged changes fro...

zbyniu zbyniu at pld-linux.org
Mon Mar 17 13:06:01 CET 2008


Author: zbyniu                       Date: Mon Mar 17 12:06:01 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6_22
---- Log message:
- merged changes from patch-2.6.22.19-vs2.3.0.34.diff

---- Files affected:
SOURCES:
   linux-2.6-vs2.3.patch (1.2.4.11.2.11.2.17 -> 1.2.4.11.2.11.2.18) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-vs2.3.patch
diff -u SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.11.2.17 SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.11.2.18
--- SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.11.2.17	Mon Mar 17 02:27:29 2008
+++ SOURCES/linux-2.6-vs2.3.patch	Mon Mar 17 13:05:53 2008
@@ -164,7 +164,7 @@
  PATCHLEVEL = 6
  SUBLEVEL = 22
 -EXTRAVERSION = .19
-+EXTRAVERSION = .19-vs2.3.0.33
++EXTRAVERSION = .19-vs2.3.0.34
  NAME = Holy Dancing Manatees, Batman!
  
  # *DOCUMENTATION*
@@ -2185,7 +2185,7 @@
  {
  	struct loop_device *lo = inode->i_bdev->bd_disk->private_data;
  
-+	if (!vx_check(lo->lo_xid, VS_IDENT|VS_HOSTID))
++	if (!vx_check(lo->lo_xid, VS_IDENT|VS_HOSTID|VS_ADMIN_P))
 +		return -EACCES;
 +
  	mutex_lock(&lo->lo_ctl_mutex);
@@ -21950,7 +21950,7 @@
 +	else if (target)
 +		*mode = target_mode & S_IFMT;
 +	else
-+		*mode = 0;
++		return -EINVAL;
 +
 +	/* if both given, device and target mode have to match */
 +	if (device && target &&
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/linux-2.6-vs2.3.patch?r1=1.2.4.11.2.11.2.17&r2=1.2.4.11.2.11.2.18&f=u



More information about the pld-cvs-commit mailing list