Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a1ff5878d2628bbe1e42821c024c96f48318f683
Commit:     a1ff5878d2628bbe1e42821c024c96f48318f683
Parent:     ad43c3565bebada7e5a13288e37542fd940369e8
Author:     Miklos Szeredi <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:26:49 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:43:05 2007 -0700

    UML: remove unnecessary hostfs_getattr()
    
    Currently hostfs_getattr() just defines the default behavior.
    
    Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
    Cc: Jeff Dike <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 fs/hostfs/hostfs_kern.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 8a21289..39b0cdc 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -872,13 +872,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr 
*attr)
        return inode_setattr(dentry->d_inode, attr);
 }
 
-int hostfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
-          struct kstat *stat)
-{
-       generic_fillattr(dentry->d_inode, stat);
-       return 0;
-}
-
 static const struct inode_operations hostfs_iops = {
        .create         = hostfs_create,
        .link           = hostfs_link,
@@ -890,7 +883,6 @@ static const struct inode_operations hostfs_iops = {
        .rename         = hostfs_rename,
        .permission     = hostfs_permission,
        .setattr        = hostfs_setattr,
-       .getattr        = hostfs_getattr,
 };
 
 static const struct inode_operations hostfs_dir_iops = {
@@ -905,7 +897,6 @@ static const struct inode_operations hostfs_dir_iops = {
        .rename         = hostfs_rename,
        .permission     = hostfs_permission,
        .setattr        = hostfs_setattr,
-       .getattr        = hostfs_getattr,
 };
 
 int hostfs_link_readpage(struct file *file, struct page *page)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to