summaryrefslogtreecommitdiff
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-26 07:25:03 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 09:41:20 (GMT)
commitd83225d45d2b76175279abb2a3d7ee325a09aba8 (patch)
treee6fc40998a7e7e0c7a22b2e0f29149ad47e0e2b0 /fs/gfs2/inode.c
parent7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc (diff)
downloadlinux-d83225d45d2b76175279abb2a3d7ee325a09aba8.tar.xz
[GFS2] remove gfs2_dev_iops
struct inode_operations gfs2_dev_iops is always the same as gfs2_file_iops, since Jan 2006, when GFS2 merged into mainstream kernel. So one of them could be removed. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 810ff02..7b9f31e 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -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);