diff options
author | Jun Piao <piaojun@huawei.com> | 2017-09-06 16:19:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-06 17:27:24 -0700 |
commit | 964f14a0d350486d17cfd24b3b7dc4f7c4bdc4d3 (patch) | |
tree | 20fb517267d900c2707814e5b38cc15a2795e696 /fs/ocfs2/file.c | |
parent | 01ffb56bc1cb27f0d9fd50be096446a8d1ab6354 (diff) | |
download | linux-964f14a0d350486d17cfd24b3b7dc4f7c4bdc4d3.tar.gz linux-964f14a0d350486d17cfd24b3b7dc4f7c4bdc4d3.tar.bz2 linux-964f14a0d350486d17cfd24b3b7dc4f7c4bdc4d3.zip |
ocfs2: clean up some dead code
clean up some unused functions and parameters.
Link: http://lkml.kernel.org/r/598A5E21.2080807@huawei.com
Signed-off-by: Jun Piao <piaojun@huawei.com>
Reviewed-by: Alex Chen <alex.chen@huawei.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index bfeb647459d9..b4512fad99ed 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -713,13 +713,6 @@ leave: return status; } -int ocfs2_extend_allocation(struct inode *inode, u32 logical_start, - u32 clusters_to_add, int mark_unwritten) -{ - return __ocfs2_extend_allocation(inode, logical_start, - clusters_to_add, mark_unwritten); -} - /* * While a write will already be ordering the data, a truncate will not. * Thus, we need to explicitly order the zeroed pages. |