Commit:     94547426db2f4f2aad2f640ca074ccb1c6f7e660
Parent:     6888c1ecd63a3e5e206048602b3f59b58f4ffd8f
Author:     Eric Dumazet <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 20 01:47:49 2007 +0200
Committer:  Adrian Bunk <[EMAIL PROTECTED]>
CommitDate: Sat Oct 20 01:47:49 2007 +0200

    Documentation/filesystems/files.txt: remove rcuref_inc_lf() reverences
    rcuref_inc_lf() is not used anymore. Replace it by atomic_inc_not_zero()
    Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]>
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
 Documentation/filesystems/files.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/files.txt 
index 133e213..bb0142f 100644
--- a/Documentation/filesystems/files.txt
+++ b/Documentation/filesystems/files.txt
@@ -76,13 +76,13 @@ the fdtable structure -
 5. Handling of the file structures is special. Since the look-up
    of the fd (fget()/fget_light()) are lock-free, it is possible
    that look-up may race with the last put() operation on the
-   file structure. This is avoided using the rcuref APIs
+   file structure. This is avoided using atomic_inc_not_zero()
    on ->f_count :
        file = fcheck_files(files, fd);
        if (file) {
-               if (rcuref_inc_lf(&file->f_count))
+               if (atomic_inc_not_zero(&file->f_count))
                        *fput_needed = 1;
                /* Didn't get the reference, someone's freed */
@@ -92,7 +92,7 @@ the fdtable structure -
        return file;
-   rcuref_inc_lf() detects if refcounts is already zero or
+   atomic_inc_not_zero() detects if refcounts is already zero or
    goes to zero during increment. If it does, we fail
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to