]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
splice: only check do_wakeup in splice_to_pipe() for a real pipe
authorJens Axboe <jens.axboe@oracle.com>
Fri, 15 Jun 2007 11:16:13 +0000 (13:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 15 Jun 2007 11:16:13 +0000 (13:16 +0200)
commit02676e5aee271c1f20d7d44249d26741aef1e846
tree72394b5bfaba6b9637488a3d5aa82d7668531d95
parent00de00bdad278783b3664ad2969954a707f5944a
splice: only check do_wakeup in splice_to_pipe() for a real pipe

We only ever set do_wakeup to non-zero if the pipe has an inode
backing, so it's pointless to check outside the pipe->inode
check.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c