]> err.no Git - linux-2.6/commitdiff
Documentation: move dnotify.txt to filesystems/
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 7 Feb 2008 08:13:35 +0000 (00:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:17 +0000 (08:42 -0800)
I'm inclined to think dnotify belongs in filesystems/.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/00-INDEX
Documentation/filesystems/00-INDEX
Documentation/filesystems/dnotify.txt [moved from Documentation/dnotify.txt with 99% similarity]

index c1067e48b529aac5305f80ef91fdb5d0a3d0763d..bb5e210342099137d66f130bc2a79cb0182f662f 100644 (file)
@@ -126,8 +126,6 @@ devices.txt
        - plain ASCII listing of all the nodes in /dev/ with major minor #'s.
 digiepca.txt
        - info on Digi Intl. {PC,PCI,EISA}Xx and Xem series cards.
-dnotify.txt
-       - info about directory notification in Linux.
 dontdiff
        - file containing a list of files that should never be diff'ed.
 driver-model/
index 1de155e2dc3664c0a3932b4b2ba880224a0e2478..632fe3f376ebe64e4a406e5f3fb40057a066f2aa 100644 (file)
@@ -32,6 +32,8 @@ directory-locking
        - info about the locking scheme used for directory operations.
 dlmfs.txt
        - info on the userspace interface to the OCFS2 DLM.
+dnotify.txt
+       - info about directory notification in Linux.
 ecryptfs.txt
        - docs on eCryptfs: stacked cryptographic filesystem for Linux.
 ext2.txt
similarity index 99%
rename from Documentation/dnotify.txt
rename to Documentation/filesystems/dnotify.txt
index 6984fca6002a304272ea3606e0ad1a34568221d6..9f5d338ddbb8349a6e04ff8c51a6349b44be4034 100644 (file)
@@ -69,24 +69,24 @@ Example
        #include <signal.h>
        #include <stdio.h>
        #include <unistd.h>
-       
+
        static volatile int event_fd;
-       
+
        static void handler(int sig, siginfo_t *si, void *data)
        {
                event_fd = si->si_fd;
        }
-       
+
        int main(void)
        {
                struct sigaction act;
                int fd;
-               
+
                act.sa_sigaction = handler;
                sigemptyset(&act.sa_mask);
                act.sa_flags = SA_SIGINFO;
                sigaction(SIGRTMIN + 1, &act, NULL);
-               
+
                fd = open(".", O_RDONLY);
                fcntl(fd, F_SETSIG, SIGRTMIN + 1);
                fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT);