Umount & quotas

2000-11-28 Thread Jan Kara
Hello. After rewrite on umount code automagical turning of quotas off stopped working - filesystem was considered busy. I would restore the behaviour in 2.4 and probably in 2.5 move this to userland together with other quota changes... Following patch (written by Al Viro) should restore

Umount quotas

2000-11-28 Thread Jan Kara
Hello. After rewrite on umount code automagical turning of quotas off stopped working - filesystem was considered busy. I would restore the behaviour in 2.4 and probably in 2.5 move this to userland together with other quota changes... Following patch (written by Al Viro) should restore

Re: Umount & quotas

2000-11-21 Thread Jan Kara
Hello. > --- fs/super.c Thu Nov 2 22:38:59 2000 > +++ fs/super.c.new Tue Nov 21 11:36:05 2000 > @@ -1037,13 +1037,13 @@ > } > > spin_lock(_lock); > - if (atomic_read(>mnt_count) > 2) { > - spin_unlock(_lock); > - mntput(mnt); > -

Re: Umount & quotas

2000-11-21 Thread Alexander Viro
On Tue, 21 Nov 2000, Jan Kara wrote: > Hello. > > After rewrite of umount checks some time ago (just now reading your mail > I realized I never asked) filesystem doesn't umount when quotas are > turned on on it - it fails on check (atomic_read(>mnt_count) > 2) > in do_umount(). > Is

Umount & quotas

2000-11-21 Thread Jan Kara
Hello. After rewrite of umount checks some time ago (just now reading your mail I realized I never asked) filesystem doesn't umount when quotas are turned on on it - it fails on check (atomic_read(>mnt_count) > 2) in do_umount(). Is this intended behaviour? If so, we can remove later

Umount quotas

2000-11-21 Thread Jan Kara
Hello. After rewrite of umount checks some time ago (just now reading your mail I realized I never asked) filesystem doesn't umount when quotas are turned on on it - it fails on check (atomic_read(mnt-mnt_count) 2) in do_umount(). Is this intended behaviour? If so, we can remove later

Re: Umount quotas

2000-11-21 Thread Alexander Viro
On Tue, 21 Nov 2000, Jan Kara wrote: Hello. After rewrite of umount checks some time ago (just now reading your mail I realized I never asked) filesystem doesn't umount when quotas are turned on on it - it fails on check (atomic_read(mnt-mnt_count) 2) in do_umount(). Is this

Re: Umount quotas

2000-11-21 Thread Jan Kara
Hello. --- fs/super.c Thu Nov 2 22:38:59 2000 +++ fs/super.c.new Tue Nov 21 11:36:05 2000 @@ -1037,13 +1037,13 @@ } spin_lock(dcache_lock); - if (atomic_read(mnt-mnt_count) 2) { - spin_unlock(dcache_lock); - mntput(mnt); -