From: Daira Hopwood Date: Mon, 8 Jun 2015 22:54:40 +0000 (+0100) Subject: Add IN_MOVED_FROM to inotify mask. X-Git-Url: https://git.rkrishnan.org/pf/content/simplejson/frontends/somewhere?a=commitdiff_plain;h=ef8e982924ff791a22a26c8c25bb04aec6edd035;p=tahoe-lafs%2Ftahoe-lafs.git Add IN_MOVED_FROM to inotify mask. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index 388104f5..0375775f 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -95,6 +95,7 @@ class DropUploader(service.MultiService): # self.mask = ( inotify.IN_CLOSE_WRITE | inotify.IN_MOVED_TO + | inotify.IN_MOVED_FROM | inotify.IN_DELETE | inotify.IN_ONLYDIR | IN_EXCL_UNLINK