]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
reiserfs: discard prealloc in reiserfs_delete_inode
authorJeff Mahoney <jeffm@suse.com>
Tue, 8 Jul 2008 18:37:06 +0000 (14:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Jul 2008 16:14:06 +0000 (09:14 -0700)
commitce07e7b0991a0a3171e97ca76f1cc576ba88e787
treec973f1628b1e0c41d5fa5fcd380f8409fe6a40df
parent3ec116ffe5e2085f1a9c63a87e64d86b85e7b81e
reiserfs: discard prealloc in reiserfs_delete_inode

commit eb35c218d83ec0780d9db869310f2e333f628702 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/reiserfs/inode.c