diff options
Diffstat (limited to 'fs/hostfs/hostfs_kern.c')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index a98d0d1aef65..b1bc31bde833 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
@@ -770,7 +770,7 @@ int hostfs_permission(struct inode *ino, int desired, unsigned int flags) | |||
770 | err = access_file(name, r, w, x); | 770 | err = access_file(name, r, w, x); |
771 | __putname(name); | 771 | __putname(name); |
772 | if (!err) | 772 | if (!err) |
773 | err = generic_permission(ino, desired, flags); | 773 | err = generic_permission(ino, desired); |
774 | return err; | 774 | return err; |
775 | } | 775 | } |
776 | 776 | ||