diff options
Diffstat (limited to 'fs/quota/dquot.c')
-rw-r--r-- | fs/quota/dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 5d81e92daf83..5ec59b20cf76 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c | |||
@@ -2198,7 +2198,7 @@ int dquot_quota_on(struct super_block *sb, int type, int format_id, | |||
2198 | if (error) | 2198 | if (error) |
2199 | return error; | 2199 | return error; |
2200 | /* Quota file not on the same filesystem? */ | 2200 | /* Quota file not on the same filesystem? */ |
2201 | if (path->mnt->mnt_sb != sb) | 2201 | if (path->dentry->d_sb != sb) |
2202 | error = -EXDEV; | 2202 | error = -EXDEV; |
2203 | else | 2203 | else |
2204 | error = vfs_load_quota_inode(path->dentry->d_inode, type, | 2204 | error = vfs_load_quota_inode(path->dentry->d_inode, type, |