diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h index f729db53db..6087d4377e 100644 --- a/src/afs/LINUX/osi_compat.h +++ b/src/afs/LINUX/osi_compat.h @@ -529,7 +529,7 @@ afs_dentry_open(struct dentry *dp, struct vfsmount *mnt, int flags, const struct filp = dentry_open(&path, flags, creds); return filp; #else - return dentry_open(dp, mntget(mnt), flags, creds); + return dentry_open(dp, mnt, flags, creds); #endif } #endif