Re: [PATCH] Btrfs: use wait_event instead of a single function

2017-09-06 Thread David Sterba
On Fri, Sep 01, 2017 at 04:14:29PM -0600, Liu Bo wrote: > Since TASK_UNINTERRUPTIBLE has been used here, wait_event() can do the > same job. > > Signed-off-by: Liu Bo Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] Btrfs: use wait_event instead of a single function

2017-09-01 Thread Liu Bo
Since TASK_UNINTERRUPTIBLE has been used here, wait_event() can do the same job. Signed-off-by: Liu Bo --- fs/btrfs/ioctl.c | 21 +++-- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 19e4dec..1c8bdde