reiserfs: discard prealloc in reiserfs_delete_inode
authorJeff Mahoney <jeffm@suse.com>
Tue, 8 Jul 2008 18:37:06 +0000 (14:37 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Jul 2008 19:39:31 +0000 (12:39 -0700)
With the removal of struct file from the xattr code,
reiserfs_file_release() isn't used anymore, so the prealloc isn't
discarded.  This causes hangs later down the line.

This patch adds it to reiserfs_delete_inode.  In most cases it will be a
no-op due to it already having been called, but will avoid hangs with
xattrs.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found