aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/flock.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/afs/flock.c')
-rw-r--r--fs/afs/flock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/flock.c b/fs/afs/flock.c
index 757d664575dd..2497bf306c70 100644
--- a/fs/afs/flock.c
+++ b/fs/afs/flock.c
@@ -514,7 +514,7 @@ error:
514 */ 514 */
515int afs_lock(struct file *file, int cmd, struct file_lock *fl) 515int afs_lock(struct file *file, int cmd, struct file_lock *fl)
516{ 516{
517 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); 517 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
518 518
519 _enter("{%x:%u},%d,{t=%x,fl=%x,r=%Ld:%Ld}", 519 _enter("{%x:%u},%d,{t=%x,fl=%x,r=%Ld:%Ld}",
520 vnode->fid.vid, vnode->fid.vnode, cmd, 520 vnode->fid.vid, vnode->fid.vnode, cmd,
@@ -537,7 +537,7 @@ int afs_lock(struct file *file, int cmd, struct file_lock *fl)
537 */ 537 */
538int afs_flock(struct file *file, int cmd, struct file_lock *fl) 538int afs_flock(struct file *file, int cmd, struct file_lock *fl)
539{ 539{
540 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); 540 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
541 541
542 _enter("{%x:%u},%d,{t=%x,fl=%x}", 542 _enter("{%x:%u},%d,{t=%x,fl=%x}",
543 vnode->fid.vid, vnode->fid.vnode, cmd, 543 vnode->fid.vid, vnode->fid.vnode, cmd,