Linux 3.0.91
Greg KH
maintainerI'm announcing the release of the 3.0.91 kernel.
All users of the 3.0 kernel series must upgrade.
The updated 3.0.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 - drivers/char/virtio_console.c | 47 +++++++++++++++++----------- drivers/hwmon/adt7470.c | 2 - drivers/scsi/nsp32.c | 2 - fs/cifs/cifssmb.c | 24 +++++++------- fs/dcache.c | 2 - fs/debugfs/inode.c | 69 +++++++++++++----------------------------- include/linux/ftrace_event.h | 4 +- kernel/trace/trace.c | 1 tools/perf/util/map.c | 3 + 10 files changed, 72 insertions(+), 84 deletions(-)
Amit Shah (5):
virtio: console: fix race with port unplug and open/close
virtio: console: fix race in port_fops_open() and port unplug
virtio: console: clean up port data immediately at time of unplug
virtio: console: fix raising SIGIO after port unplug
virtio: console: return -ENODEV on all read operations after unplug
Andrew Vagin (1):
tracing: Fix fields of struct trace_iterator that are zeroed by mistake
Arnd Bergmann (1):
SCSI: nsp32: use mdelay instead of large udelay constants
Curt Brune (1):
hwmon: (adt7470) Fix incorrect return code check
Greg Kroah-Hartman (1):
Linux 3.0.91
Jeff Layton (1):
cifs: silence compiler warnings showing up with gcc-4.7.0
Joshua Zhu (1):
perf tools: Add anonymous huge page recognition
NeilBrown (1):
vfs: d_obtain_alias() needs to use "/" as default name.
Oleg Nesterov (1):
debugfs: debugfs_remove_recursive() must not rely on list_empty(d_subdirs)
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 90 +SUBLEVEL = 91 EXTRAVERSION = NAME = Sneaky Weasel
drivers/char/virtio_console.c +28 -19
96 lines not on this page · raw message
drivers/hwmon/adt7470.c +1 -1
@@ -215,7 +215,7 @@ static inline int adt7470_write_word_data(struct i2c_client *client, u8 reg, u16 value) {return i2c_smbus_write_byte_data (client, reg, value &0xFF ) - &&i2c_smbus_write_byte_data (client, reg +1 , value >>8 ); + ||i2c_smbus_write_byte_data (client, reg +1 , value >>8 ); }static void adt7470_init_client (struct i2c_client *client)
drivers/scsi/nsp32.c +1 -1
@@ -2927,7 +2927,7 @@ static void nsp32_do_bus_reset(nsp32_hw_data *data)* reset SCSI bus */ nsp32_write1 (base,SCSI_BUS_CONTROL ,BUSCTL_RST ); -udelay (RESET_HOLD_TIME ); +mdelay (RESET_HOLD_TIME /1000 );nsp32_write1 (base,SCSI_BUS_CONTROL ,0 );for (i =0 ; i <5 ; i++) { intrdat =nsp32_read2 (base,IRQ_STATUS );/* dummy read */
fs/cifs/cifssmb.c +12 -12
@@ -3473,13 +3473,12 @@ CIFSSMBSetCIFSACL(const int xid, struct cifs_tcon *tcon, __u16 fid,int rc =0 ;int bytes_returned =0 ;SET_SEC_DESC_REQ *pSMB =NULL ; -NTRANSACT_RSP *pSMBr =NULL ; +void *pSMBr; setCifsAclRetry: - rc =smb_init (SMB_COM_NT_TRANSACT ,19 , tcon, (void **) &pSMB, - (void **) &pSMBr); + rc =smb_init (SMB_COM_NT_TRANSACT ,19 , tcon, (void **) &pSMB, &pSMBr);if (rc) -return (rc); +return rc; pSMB->MaxSetupCount =0 ; pSMB->Reserved =0 ;
@@ -3507,9 +3506,8 @@ setCifsAclRetry: pSMB->AclFlags =cpu_to_le32 (CIFS_ACL_DACL );if (pntsd && acllen) { -memcpy ((char *) &pSMBr->hdr.Protocol + data_offset, - (char *) pntsd, - acllen); +memcpy ((char *)pSMBr + offsetof(struct smb_hdr , Protocol) + + data_offset, pntsd, acllen);inc_rfc1001_len (pSMB, byte_count + data_count); }else inc_rfc1001_len (pSMB, byte_count);
@@ -5291,7 +5289,8 @@ CIFSSMBSetFileInfo(const int xid, struct cifs_tcon *tcon, param_offset = offsetof(struct smb_com_transaction2_sfi_req , Fid) -4 ; offset = param_offset + params; - data_offset = (char *) (&pSMB->hdr.Protocol) + offset; + data_offset = (char *)pSMB + + offsetof(struct smb_hdr , Protocol) + offset; count =sizeof (FILE_BASIC_INFO ); pSMB->MaxParameterCount =cpu_to_le16 (2 );
@@ -5560,7 +5559,7 @@ CIFSSMBUnixSetFileInfo(const int xid, struct cifs_tcon *tcon, u16 fid, u32 pid_of_opener) {struct smb_com_transaction2_sfi_req *pSMB =NULL ; -FILE_UNIX_BASIC_INFO *data_offset; +char *data_offset;int rc =0 ;u16 params, param_offset, offset, byte_count, count;
@@ -5582,8 +5581,9 @@ CIFSSMBUnixSetFileInfo(const int xid, struct cifs_tcon *tcon, param_offset = offsetof(struct smb_com_transaction2_sfi_req , Fid) -4 ; offset = param_offset + params; - data_offset = (FILE_UNIX_BASIC_INFO *) - ((char *)(&pSMB->hdr.Protocol) + offset); + data_offset = (char *)pSMB + + offsetof(struct smb_hdr , Protocol) + offset; + count =sizeof (FILE_UNIX_BASIC_INFO ); pSMB->MaxParameterCount =cpu_to_le16 (2 );
@@ -5605,7 +5605,7 @@ CIFSSMBUnixSetFileInfo(const int xid, struct cifs_tcon *tcon,inc_rfc1001_len (pSMB, byte_count); pSMB->ByteCount =cpu_to_le16 (byte_count); -cifs_fill_unix_set_info (data_offset, args); +cifs_fill_unix_set_info ((FILE_UNIX_BASIC_INFO *)data_offset, args); rc =SendReceiveNoRsp (xid, tcon->ses, (struct smb_hdr *) pSMB,0 );if (rc)
fs/dcache.c +1 -1
@@ -1563,7 +1563,7 @@ static struct dentry * d_find_any_alias(struct inode *inode)*/ struct dentry *d_obtain_alias (struct inode *inode) { -static const struct qstr anonstring = { .name ="" }; +static const struct qstr anonstring = { .name ="/" , .len =1 };struct dentry *tmp;struct dentry *res;
fs/debugfs/inode.c +22 -47
91 lines not on this page · raw message
include/linux/ftrace_event.h +3 -1
@@ -71,6 +71,8 @@ struct trace_iterator {/* trace_seq for __print_flags() and __print_symbolic() etc. */ struct trace_seq tmp_seq; +cpumask_var_t started; +/* The below is zeroed out in pipe_read */ struct trace_seq seq;struct trace_entry *ent;
@@ -82,7 +84,7 @@ struct trace_iterator {loff_t pos;long idx; -cpumask_var_t started; +/* All new field here will be zeroed out in pipe_read */ };
kernel/trace/trace.c +1 -0
@@ -3245,6 +3245,7 @@ waitagain:memset (&iter->seq,0 ,sizeof (struct trace_iterator ) - offsetof(struct trace_iterator , seq)); +cpumask_clear (iter->started); iter->pos =-1 ;trace_event_read_lock ();
tools/perf/util/map.c +2 -1
@@ -15,7 +15,8 @@ const char *map_type__name[MAP__NR_TYPES] = {static inline int is_anon_memory (const char *filename) { -return strcmp (filename,"//anon" ) ==0 ; +return !strcmp (filename,"//anon" ) || + !strcmp (filename,"/anon_hugepage (deleted)" ); } void map__init(struct map *self, enum map_type type,