forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filesystem notification: create fs/notify to contain all fs notification
Creating a generic filesystem notification interface, fsnotify, which will be used by inotify, dnotify, and eventually fanotify is really starting to clutter the fs directory. This patch simply moves inotify and dnotify into fs/notify/inotify and fs/notify/dnotify respectively to make both current fs/ and future notification tidier. Signed-off-by: Eric Paris <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information
Showing
11 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source "fs/notify/dnotify/Kconfig" | ||
source "fs/notify/inotify/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
obj-y += dnotify/ | ||
obj-y += inotify/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
config DNOTIFY | ||
bool "Dnotify support" | ||
default y | ||
help | ||
Dnotify is a directory-based per-fd file change notification system | ||
that uses signals to communicate events to user-space. There exist | ||
superior alternatives, but some applications may still rely on | ||
dnotify. | ||
|
||
If unsure, say Y. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_DNOTIFY) += dnotify.o |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
config INOTIFY | ||
bool "Inotify file change notification support" | ||
default y | ||
---help--- | ||
Say Y here to enable inotify support. Inotify is a file change | ||
notification system and a replacement for dnotify. Inotify fixes | ||
numerous shortcomings in dnotify and introduces several new features | ||
including multiple file events, one-shot support, and unmount | ||
notification. | ||
|
||
For more information, see <file:Documentation/filesystems/inotify.txt> | ||
|
||
If unsure, say Y. | ||
|
||
config INOTIFY_USER | ||
bool "Inotify support for userspace" | ||
depends on INOTIFY | ||
default y | ||
---help--- | ||
Say Y here to enable inotify support for userspace, including the | ||
associated system calls. Inotify allows monitoring of both files and | ||
directories via a single open fd. Events are read from the file | ||
descriptor, which is also select()- and poll()-able. | ||
|
||
For more information, see <file:Documentation/filesystems/inotify.txt> | ||
|
||
If unsure, say Y. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
obj-$(CONFIG_INOTIFY) += inotify.o | ||
obj-$(CONFIG_INOTIFY_USER) += inotify_user.o |
File renamed without changes.
File renamed without changes.