summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.c
diff options
context:
space:
mode:
authorJoseph Qi2016-07-27 00:21:40 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commit698d44b43a258006516538c27c8c4a8ab202e7d2 (patch)
treee3fff7b62d2b9a88b2a27ca9caec58c61f3ba786 /fs/ocfs2/super.c
parentocfs2/dlm: fix memory leak of dlm_debug_ctxt (diff)
downloadkernel-qcow2-linux-698d44b43a258006516538c27c8c4a8ab202e7d2.tar.gz
kernel-qcow2-linux-698d44b43a258006516538c27c8c4a8ab202e7d2.tar.xz
kernel-qcow2-linux-698d44b43a258006516538c27c8c4a8ab202e7d2.zip
ocfs2: cleanup implemented prototypes
Several prototypes in inode.h are just defined but not actually implemented and used, so remove them. Link: http://lkml.kernel.org/r/57763787.4020706@huawei.com Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r--fs/ocfs2/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index d7cae3327de5..d97de212c4db 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -2072,7 +2072,6 @@ static int ocfs2_initialize_super(struct super_block *sb,
osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash);
osb->sb = sb;
- /* Save off for ocfs2_rw_direct */
osb->s_sectsize_bits = blksize_bits(sector_size);
BUG_ON(!osb->s_sectsize_bits);