Prasad Joshi d2dcd9083f logfs: destroy the reserved inodes while unmounting
We were assuming that the evict_inode() would never be called on
reserved inodes. However, (after the commit 8e22c1a4e logfs: get rid
of magical inodes) while unmounting the file system, in put_super, we
call iput() on all of the reserved inodes.

The following simple test used to cause a kernel panic on LogFS:

1. Mount a LogFS file system on /mnt

2. Create a file
   $ touch /mnt/a

3. Try to unmount the FS
   $ umount /mnt

The simple fix would be to drop the assumption and properly destroy
the reserved inodes.

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
2012-04-02 09:20:33 +05:30
..
2011-05-20 12:50:29 -07:00
2012-01-28 11:24:21 +05:30
2012-01-28 11:41:56 +05:30
2009-11-20 20:13:39 +01:00
2010-05-10 11:56:30 +02:00
2009-11-20 20:13:39 +01:00