Re: [PATCH 13/13 v2] libtracefs: Add CONTINUE to tracefs_function_filter()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Mar 2021 10:52:50 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> And closing the file can cause issues. If we were to go this way, I would
> make it that if the file is open and RESET is set, it would return an error
> EBUSY.
> 
> But no, closing the file just because RESET is set is dangerous.

So, I'm going to keep the patches going as is, and build on top of them
with updates.

Thinking about this some more, I believe I'll go with returning 1 with
errno = EBUSY if RESET is passed in and the file descriptor is opened.

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux