From: Greg Kroah-Hartman <gregkh@suse.de>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org,
linux-usb-devel@lists.sourceforge.net,
hirofumi@mail.parknet.co.jp
Subject: [patch 07/12] usbfs: usbfs_dir_inode_operations cleanup
Date: Mon, 14 Nov 2005 12:05:47 -0800 [thread overview]
Message-ID: <20051114200547.GH2319@kroah.com> (raw)
In-Reply-To: <20051114200456.GA2319@kroah.com>
[-- Attachment #1: usbfs_dir_inode_operations-cleanup.patch --]
[-- Type: text/plain, Size: 1306 bytes --]
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
This patch is just cleanup.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/core/inode.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- gregkh-2.6.orig/drivers/usb/core/inode.c 2005-11-02 09:25:03.000000000 -0800
+++ gregkh-2.6/drivers/usb/core/inode.c 2005-11-02 12:02:53.000000000 -0800
@@ -46,7 +46,6 @@
static struct super_operations usbfs_ops;
static struct file_operations default_file_operations;
-static struct inode_operations usbfs_dir_inode_operations;
static struct vfsmount *usbfs_mount;
static int usbfs_mount_count; /* = 0 */
static int ignore_mount = 0;
@@ -262,7 +261,7 @@
inode->i_fop = &default_file_operations;
break;
case S_IFDIR:
- inode->i_op = &usbfs_dir_inode_operations;
+ inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
/* directory inodes start off with i_nlink == 2 (for "." entry) */
@@ -417,10 +416,6 @@
.llseek = default_file_lseek,
};
-static struct inode_operations usbfs_dir_inode_operations = {
- .lookup = simple_lookup,
-};
-
static struct super_operations usbfs_ops = {
.statfs = simple_statfs,
.drop_inode = generic_delete_inode,
--
next prev parent reply other threads:[~2005-11-14 20:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051114200100.984523000@press.kroah.org>
2005-11-14 20:04 ` [patch 00/12] USB patches for 2.6.15-rc1 Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 01/12] USB: fix build breakage in dummy_hcd.c Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 02/12] USB Serial: rename ChangeLog.old Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 03/12] USB: add new wacom devices to usb hid-core list Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 04/12] USB: wacom tablet driver update Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 05/12] USB: fix 'unused variable' warning Greg Kroah-Hartman
2005-11-14 20:05 ` [patch 06/12] USB: Delete leftovers from bluetty driver Greg Kroah-Hartman
2005-11-14 20:05 ` Greg Kroah-Hartman [this message]
2005-11-14 20:06 ` [patch 08/12] USB: usbdevfs_ioctl 32bit fix Greg Kroah-Hartman
2005-11-14 20:06 ` [patch 09/12] USB: kill unneccessary usb-storage blacklist entries Greg Kroah-Hartman
2005-11-14 20:06 ` [patch 10/12] USB: cp2101.c: Jablotron usb serial interface identification Greg Kroah-Hartman
2005-11-14 20:06 ` [patch 11/12] USB: onetouch doesn't suspend yet Greg Kroah-Hartman
2005-11-14 20:06 ` [patch 12/12] USB: add new anydata usb-serial driver Greg Kroah-Hartman
2005-11-14 20:09 ` [patch 00/12] USB patches for 2.6.15-rc1 Greg Kroah-Hartman
2005-11-15 8:48 ` USB patches for 2.6.15-rc1?? David Kubicek
2005-11-17 0:55 ` Greg KH
2005-11-17 15:28 ` David Kubicek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051114200547.GH2319@kroah.com \
--to=gregkh@suse.de \
--cc=akpm@osdl.org \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox