Skip to content

Commit

Permalink
splice: remove do_splice_direct() symbol export
Browse files Browse the repository at this point in the history
It's only supposed to be used by do_sendfile(), which is never
modular. So kill the export.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Jun 8, 2007
1 parent d366d39 commit 267adc3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,6 @@ long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
return ret;
}

EXPORT_SYMBOL(do_splice_direct);

/*
* After the inode slimming patch, i_pipe/i_bdev/i_cdev share the same
* location, so checking ->i_pipe is not enough to verify that this is a
Expand Down

0 comments on commit 267adc3

Please sign in to comment.