aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 19:09:16 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 19:09:16 -0700
commit73a0e405dce7d720808536b708f7c738b413b1a2 (patch)
tree60cc93e993e89b0c83a549bd65647879ce37d9cc /fs/xfs/xfs_inode.c
parent03529d9f66b7995c67ddceb8f83258df3c9915da (diff)
parent5493a0fcba8a94baa5c1d80aca21d6ae4b3b573e (diff)
downloadkernel_samsung_smdk4412-73a0e405dce7d720808536b708f7c738b413b1a2.zip
kernel_samsung_smdk4412-73a0e405dce7d720808536b708f7c738b413b1a2.tar.gz
kernel_samsung_smdk4412-73a0e405dce7d720808536b708f7c738b413b1a2.tar.bz2
Merge git://oss.sgi.com:8090/nathans/xfs-2.6
* git://oss.sgi.com:8090/nathans/xfs-2.6: [XFS] Fixup whitespace damage in log_write, remove final warning. [XFS] Rework code snippets slightly to remove remaining recent-gcc [XFS] Fix realtime subvolume expansion, a porting bug b0rked it. Coverity [XFS] Remove a race condition where a linked inode could BUG_ON in [XFS] Remove redundant directory checks from inode link operation. [XFS] Remove a couple of no-longer-used macros. [XFS] Reduce size of xfs_trans_t structure. * remove ->t_forw, ->t_back -- [XFS] remove unused behaviour lock - shrink XFS vnode as a side effect. [XFS] * There is trivial "inode => vnode => inode" conversion, but only [XFS] link(2) on directory is banned in VFS.
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 5fa0adb..86c1bf0 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1961,9 +1961,9 @@ xfs_iunlink_remove(
xfs_agino_t agino;
xfs_agino_t next_agino;
xfs_buf_t *last_ibp;
- xfs_dinode_t *last_dip;
+ xfs_dinode_t *last_dip = NULL;
short bucket_index;
- int offset, last_offset;
+ int offset, last_offset = 0;
int error;
int agi_ok;