diff options
-rw-r--r-- | fs/nfs/unlink.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 8d6864c2a5fa..981298ce5124 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -501,6 +501,14 @@ nfs_async_rename(struct inode *old_dir, struct inode *new_dir, | |||
501 | * and only performs the unlink once the last reference to it is put. | 501 | * and only performs the unlink once the last reference to it is put. |
502 | * | 502 | * |
503 | * The final cleanup is done during dentry_iput. | 503 | * The final cleanup is done during dentry_iput. |
504 | * | ||
505 | * (Note: NFSv4 is stateful, and has opens, so in theory an NFSv4 server | ||
506 | * could take responsibility for keeping open files referenced. The server | ||
507 | * would also need to ensure that opened-but-deleted files were kept over | ||
508 | * reboots. However, we may not assume a server does so. (RFC 5661 | ||
509 | * does provide an OPEN4_RESULT_PRESERVE_UNLINKED flag that a server can | ||
510 | * use to advertise that it does this; some day we may take advantage of | ||
511 | * it.)) | ||
504 | */ | 512 | */ |
505 | int | 513 | int |
506 | nfs_sillyrename(struct inode *dir, struct dentry *dentry) | 514 | nfs_sillyrename(struct inode *dir, struct dentry *dentry) |