Skip to contentSkip to conversation

Linux 2.6.27.50

DISCUSSION Greg KH 2 participants 2 messages Aug 10, 2010

Subsystems (11)
Networking Documentation x86 Kbuild +7 more subsystems
lore
Share & tools
lore

Greg KH

author
#0 lore raw

I'm announcing the release of the 2.6.27.50 kernel. All users of the 2.6.27 kernel series are very strongly encouraged to upgrade.

The updated 2.6.27.y git tree can be found at:

        git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
        http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary

thanks,

greg k-h

------------

 Documentation/accounting/.gitignore   |    1 +
 Documentation/auxdisplay/.gitignore   |    1 +
 Documentation/connector/.gitignore    |    1 +
 Documentation/ia64/.gitignore         |    1 +
 Documentation/networking/.gitignore   |    1 +
 Documentation/pcmcia/.gitignore       |    1 +
 Documentation/spi/.gitignore          |    2 ++
 Documentation/video4linux/.gitignore  |    1 +
 Documentation/vm/.gitignore           |    1 +
 Documentation/watchdog/src/.gitignore |    2 ++
 Makefile                              |    2 +-
 arch/x86/boot/compressed/.gitignore   |    2 ++
 drivers/misc/enclosure.c              |    7 +++++--
 drivers/parisc/led.c                  |    6 ++++--
 fs/gfs2/dir.c                         |    2 +-
 fs/xfs/xfs_dfrag.c                    |    5 ++++-
 16 files changed, 29 insertions(+), 7 deletions(-)

Alexey Dobriyan (1):
.gitignore updates

Bob Peterson (1):
GFS2: rename causes kernel Oops

Dan Rosenberg (1):
xfs: prevent swapext from operating on write-only files

Greg Kroah-Hartman (1):

      Linux 2.6.27.50

Helge Deller (1):
PARISC: led.c - fix potential stack overflow in led_proc_write()

James Bottomley (1):
SCSI: enclosure: fix error path - actually return ERR_PTR() on error

#1 lore raw
Documentation/accounting/.gitignore new file +1 -0
new file mode 100644
index 0000000..8648520
@@ -0,0 +1 @@
+getdelays
Documentation/auxdisplay/.gitignore new file +1 -0
new file mode 100644
index 0000000..7af2228
@@ -0,0 +1 @@
+cfag12864b-example
Documentation/connector/.gitignore new file +1 -0
new file mode 100644
index 0000000..d2b9c32
@@ -0,0 +1 @@
+ucon
Documentation/ia64/.gitignore new file +1 -0
new file mode 100644
index 0000000..ab806ed
@@ -0,0 +1 @@
+aliasing-test
Documentation/networking/.gitignore new file +1 -0
new file mode 100644
index 0000000..286a568
@@ -0,0 +1 @@
+ifenslave
Documentation/pcmcia/.gitignore new file +1 -0
new file mode 100644
index 0000000..53d0813
@@ -0,0 +1 @@
+crc32hash
Documentation/spi/.gitignore new file +2 -0
new file mode 100644
index 0000000..4280576
@@ -0,0 +1,2 @@
+spidev_fdx
+spidev_test
Documentation/video4linux/.gitignore new file +1 -0
new file mode 100644
index 0000000..9527039
@@ -0,0 +1 @@
+v4lgrab
Documentation/vm/.gitignore new file +1 -0
new file mode 100644
index 0000000..33e8a02
@@ -0,0 +1 @@
+slabinfo
Documentation/watchdog/src/.gitignore new file +2 -0
new file mode 100644
index 0000000..ac90997
@@ -0,0 +1,2 @@
+watchdog-simple
+watchdog-test
Makefile +1 -1
index 382a8dd..040c479 100644
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 27
-EXTRAVERSION = .49
+EXTRAVERSION = .50
 NAME = Trembling Tortoise
 
 # *DOCUMENTATION*
arch/x86/boot/compressed/.gitignore +2 -0
index be0ed06..63eff3b 100644
@@ -1 +1,3 @@
 relocs
+vmlinux.bin.all
+vmlinux.relocs
drivers/misc/enclosure.c +5 -2
index 0736cff..f57abe8 100644
@@ -264,8 +264,11 @@ enclosure_component_register(struct enclosure_device *edev,
 	cdev->groups = enclosure_groups;
 
 	err = device_register(cdev);
-	if (err)
-		ERR_PTR(err);
+	if (err) {
+		ecomp->number = -1;
+		put_device(cdev);
+		return ERR_PTR(err);
+	}
 
 	return ecomp;
 }
drivers/parisc/led.c +4 -2
index f9b1266..299b4e6e 100644
@@ -182,16 +182,18 @@ static int led_proc_read(char *page, char **start, off_t off, int count,
 static int led_proc_write(struct file *file, const char *buf, 
 	unsigned long count, void *data)
 {
-	char *cur, lbuf[count + 1];
+	char *cur, lbuf[32];
 	int d;
 
 	if (!capable(CAP_SYS_ADMIN))
 		return -EACCES;
 
-	memset(lbuf, 0, count + 1);
+	if (count >= sizeof(lbuf))
+		count = sizeof(lbuf)-1;
 
 	if (copy_from_user(lbuf, buf, count))
 		return -EFAULT;
+	lbuf[count] = 0;
 
 	cur = lbuf;
 
fs/gfs2/dir.c +1 -1
index eed040d..4c83653 100644
@@ -393,7 +393,7 @@ static int gfs2_dirent_find_space(const struct gfs2_dirent *dent,
 	unsigned totlen = be16_to_cpu(dent->de_rec_len);
 
 	if (gfs2_dirent_sentinel(dent))
-		actual = GFS2_DIRENT_SIZE(0);
+		actual = 0;
 	if (totlen - actual >= required)
 		return 1;
 	return 0;
fs/xfs/xfs_dfrag.c +4 -1
index 75b0cd4..ce2a6a2 100644
@@ -74,7 +74,9 @@ xfs_swapext(
 		goto out_free_sxp;
 	}
 
-	if (!(file->f_mode & FMODE_WRITE) || (file->f_flags & O_APPEND)) {
+	if (!(file->f_mode & FMODE_WRITE) ||
+	    !(file->f_mode & FMODE_READ) ||
+	    (file->f_flags & O_APPEND)) {
 		error = XFS_ERROR(EBADF);
 		goto out_put_file;
 	}
@@ -86,6 +88,7 @@ xfs_swapext(
 	}
 
 	if (!(target_file->f_mode & FMODE_WRITE) ||
+	    !(target_file->f_mode & FMODE_READ) ||
 	    (target_file->f_flags & O_APPEND)) {
 		error = XFS_ERROR(EBADF);
 		goto out_put_target_file;