aboutsummaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorJeff Layton <jeff.layton@primarydata.com>2015-01-21 20:44:01 -0500
committerJeff Layton <jeff.layton@primarydata.com>2015-01-21 20:44:01 -0500
commit8116bf4cb62d337c953cfa5369ef4cf83e73140c (patch)
tree8feb67e4e034365d84fcf59c397f2e2b2867c68b /fs/locks.c
parent3d8e560de4a076b302cb0cc17e998aaace2b176a (diff)
locks: update comments that refer to inode->i_flock
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'fs/locks.c')
-rw-r--r--fs/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c
index 2fc36b3772a0..4d0d41163a50 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -2212,7 +2212,7 @@ again:
2212 */ 2212 */
2213 /* 2213 /*
2214 * we need that spin_lock here - it prevents reordering between 2214 * we need that spin_lock here - it prevents reordering between
2215 * update of inode->i_flock and check for it done in close(). 2215 * update of i_flctx->flc_posix and check for it done in close().
2216 * rcu_read_lock() wouldn't do. 2216 * rcu_read_lock() wouldn't do.
2217 */ 2217 */
2218 spin_lock(&current->files->file_lock); 2218 spin_lock(&current->files->file_lock);