summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorJeff Layton <jeff.layton@primarydata.com>2015-01-22 04:44:01 +0300
committerSasha Levin <sasha.levin@oracle.com>2016-02-10 06:56:32 +0300
commit53e404555067d3a9389ebe9d3a3e797cdd0fe440 (patch)
tree909318822241d03528a98a4fa48ac1303f5adc71 /fs/locks.c
parent304e9bf286d4050fa02e4c9944ef47c98ebf0193 (diff)
downloadlinux-53e404555067d3a9389ebe9d3a3e797cdd0fe440.tar.xz
locks: update comments that refer to inode->i_flock
[ Upstream commit 8116bf4cb62d337c953cfa5369ef4cf83e73140c ] Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.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 59e2f905e4ff..3a53d1b20776 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -2171,7 +2171,7 @@ again:
*/
/*
* we need that spin_lock here - it prevents reordering between
- * update of inode->i_flock and check for it done in close().
+ * update of i_flctx->flc_posix and check for it done in close().
* rcu_read_lock() wouldn't do.
*/
spin_lock(&current->files->file_lock);