From dcf72f1315af53f0ecaaaabf783722769d74a760 Mon Sep 17 00:00:00 2001 From: Yura Pakhuchiy Date: Fri, 21 Sep 2007 18:43:05 +0300 Subject: [PATCH] ntfs_inode_close: Document that @ni can be NULL. --- libntfs/inode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libntfs/inode.c b/libntfs/inode.c index 712cfd13..87f08464 100644 --- a/libntfs/inode.c +++ b/libntfs/inode.c @@ -266,6 +266,8 @@ err_out: * If it is an extent inode, we disconnect it from its base inode before we * destroy it. * + * It is OK to pass NULL to this function, it is just noop in this case. + * * Return 0 on success or -1 on error with errno set to the error code. On * error, @ni has not been freed. The user should attempt to handle the error * and call ntfs_inode_close() again. The following error codes are defined: