Skip to content

Commit 69afd26

Browse files
J. Bruce Fieldschucklever
authored andcommitted
nfsd: fsnotify on rmdir under nfsd/clients/
Userspace should be able to monitor nfsd/clients/ to see when clients come and go, but we're failing to send fsnotify events. Cc: [email protected] Signed-off-by: J. Bruce Fields <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 663e36f commit 69afd26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfsd/nfsctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,7 @@ void nfsd_client_rmdir(struct dentry *dentry)
13331333
dget(dentry);
13341334
ret = simple_rmdir(dir, dentry);
13351335
WARN_ON_ONCE(ret);
1336+
fsnotify_rmdir(dir, dentry);
13361337
d_delete(dentry);
13371338
inode_unlock(dir);
13381339
}

0 commit comments

Comments
 (0)