diff options
Diffstat (limited to 'fs/reiserfs/super.c')
-rw-r--r-- | fs/reiserfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 5a4cae7efc43..1abffa451529 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
@@ -2058,7 +2058,7 @@ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, | |||
2058 | return -EINVAL; | 2058 | return -EINVAL; |
2059 | 2059 | ||
2060 | /* Quotafile not on the same filesystem? */ | 2060 | /* Quotafile not on the same filesystem? */ |
2061 | if (path->mnt->mnt_sb != sb) { | 2061 | if (path->dentry->d_sb != sb) { |
2062 | err = -EXDEV; | 2062 | err = -EXDEV; |
2063 | goto out; | 2063 | goto out; |
2064 | } | 2064 | } |