Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89525
b: refs/heads/master
c: d83225d
h: refs/heads/master
i:
  89523: 58b040f
v: v3
  • Loading branch information
Denis Cheng authored and Steven Whitehouse committed Mar 31, 2008
1 parent 3aa3aa6 commit 2e60ceb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc
refs/heads/master: d83225d45d2b76175279abb2a3d7ee325a09aba8
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void gfs2_set_iop(struct inode *inode)
} else if (S_ISLNK(mode)) {
inode->i_op = &gfs2_symlink_iops;
} else {
inode->i_op = &gfs2_dev_iops;
inode->i_op = &gfs2_file_iops;
}

unlock_new_inode(inode);
Expand Down
10 changes: 0 additions & 10 deletions trunk/fs/gfs2/ops_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,16 +1149,6 @@ const struct inode_operations gfs2_file_iops = {
.removexattr = gfs2_removexattr,
};

const struct inode_operations gfs2_dev_iops = {
.permission = gfs2_permission,
.setattr = gfs2_setattr,
.getattr = gfs2_getattr,
.setxattr = gfs2_setxattr,
.getxattr = gfs2_getxattr,
.listxattr = gfs2_listxattr,
.removexattr = gfs2_removexattr,
};

const struct inode_operations gfs2_dir_iops = {
.create = gfs2_create,
.lookup = gfs2_lookup,
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/gfs2/ops_inode.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
extern const struct inode_operations gfs2_file_iops;
extern const struct inode_operations gfs2_dir_iops;
extern const struct inode_operations gfs2_symlink_iops;
extern const struct inode_operations gfs2_dev_iops;
extern const struct file_operations gfs2_file_fops;
extern const struct file_operations gfs2_dir_fops;
extern const struct file_operations gfs2_file_fops_nolock;
Expand Down

0 comments on commit 2e60ceb

Please sign in to comment.