VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Benjamin Coddington <bcodding@redhat.com> 2015-10-22 13:38:14 -0400 committer: Jeff Layton <jeff.layton@primarydata.com> 2015-10-22 14:57:36 -0400 commit: 4f6563677ae833baad8003e14353241bc25da4fc parent: e55c34a66f87e78fb1fc6b623b78c5ad74b475af
Commit Summary:
Move locks API users to locks_lock_inode_wait()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/locks.c b/fs/locks.c
index c1745119fc5b..4667f8226747 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1961,7 +1961,7 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd)
 					  (can_sleep) ? F_SETLKW : F_SETLK,
 					  lock);
 	else
-		error = flock_lock_file_wait(f.file, lock);
+		error = locks_lock_file_wait(f.file, lock);
 
  out_free:
 	locks_free_lock(lock);