-
- Downloads
afs: Implement sillyrename for unlink and rename
Implement sillyrename for AFS unlink and rename, using the NFS variant
implementation as a basis.
Note that the asynchronous file locking extender/releaser has to be
notified with a state change to stop it complaining if there's a race
between that and the actual file deletion.
A tracepoint, afs_silly_rename, is also added to note the silly rename and
the cleanup. The afs_edit_dir tracepoint is given some extra reason
indicators and the afs_flock_ev tracepoint is given a silly-delete file
lock cancellation indicator.
Signed-off-by:
David Howells <dhowells@redhat.com>
Showing
- fs/afs/Makefile 1 addition, 0 deletionsfs/afs/Makefile
- fs/afs/dir.c 107 additions, 9 deletionsfs/afs/dir.c
- fs/afs/dir_silly.c 239 additions, 0 deletionsfs/afs/dir_silly.c
- fs/afs/flock.c 1 addition, 1 deletionfs/afs/flock.c
- fs/afs/inode.c 2 additions, 0 deletionsfs/afs/inode.c
- fs/afs/internal.h 10 additions, 0 deletionsfs/afs/internal.h
- fs/afs/super.c 3 additions, 1 deletionfs/afs/super.c
- include/trace/events/afs.h 32 additions, 2 deletionsinclude/trace/events/afs.h
Loading
Please register or sign in to comment