mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/scsi/fcoe/fcoe.c
This commit is contained in:
commit
bb803cfbec
1787 changed files with 38426 additions and 34527 deletions
|
|
@ -75,15 +75,17 @@ static int capifs_remount(struct super_block *s, int *flags, char *data)
|
|||
}
|
||||
}
|
||||
|
||||
kfree(s->s_options);
|
||||
s->s_options = new_opt;
|
||||
mutex_lock(&s->s_root->d_inode->i_mutex);
|
||||
|
||||
replace_mount_options(s, new_opt);
|
||||
config.setuid = setuid;
|
||||
config.setgid = setgid;
|
||||
config.uid = uid;
|
||||
config.gid = gid;
|
||||
config.mode = mode;
|
||||
|
||||
mutex_unlock(&s->s_root->d_inode->i_mutex);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -154,13 +156,16 @@ void capifs_new_ncci(unsigned int number, dev_t device)
|
|||
if (!inode)
|
||||
return;
|
||||
inode->i_ino = number+2;
|
||||
|
||||
dentry = get_node(number);
|
||||
|
||||
/* config contents is protected by root's i_mutex */
|
||||
inode->i_uid = config.setuid ? config.uid : current_fsuid();
|
||||
inode->i_gid = config.setgid ? config.gid : current_fsgid();
|
||||
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
|
||||
init_special_inode(inode, S_IFCHR|config.mode, device);
|
||||
//inode->i_op = &capifs_file_inode_operations;
|
||||
|
||||
dentry = get_node(number);
|
||||
if (!IS_ERR(dentry) && !dentry->d_inode)
|
||||
d_instantiate(dentry, inode);
|
||||
mutex_unlock(&capifs_root->d_inode->i_mutex);
|
||||
|
|
|
|||
|
|
@ -149,14 +149,7 @@ static void usb_ctrl_complete(struct urb *urb)
|
|||
if (ctrl_msg->dr.bRequest == USB_REQ_CLEAR_FEATURE) {
|
||||
/* Special case handling for pipe reset */
|
||||
le16_to_cpus(&ctrl_msg->dr.wIndex);
|
||||
|
||||
/* toggle is reset on clear */
|
||||
usb_settoggle(adapter->usb_dev,
|
||||
ctrl_msg->dr.wIndex & ~USB_DIR_IN,
|
||||
(ctrl_msg->dr.wIndex & USB_DIR_IN) == 0,
|
||||
0);
|
||||
|
||||
|
||||
usb_reset_endpoint(adapter->usb_dev, ctrl_msg->dr.wIndex);
|
||||
}
|
||||
|
||||
if (ctrl_msg->complete)
|
||||
|
|
|
|||
Loading…
Reference in a new issue