diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 22:09:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 22:09:16 -0400 |
commit | 73a0e405dce7d720808536b708f7c738b413b1a2 (patch) | |
tree | 60cc93e993e89b0c83a549bd65647879ce37d9cc /fs/xfs/xfs_mount.c | |
parent | 03529d9f66b7995c67ddceb8f83258df3c9915da (diff) | |
parent | 5493a0fcba8a94baa5c1d80aca21d6ae4b3b573e (diff) |
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_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index ed7579beb6b0..4be5c0b2d296 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -2028,7 +2028,7 @@ xfs_icsb_balance_counter( | |||
2028 | xfs_sb_field_t field, | 2028 | xfs_sb_field_t field, |
2029 | int flags) | 2029 | int flags) |
2030 | { | 2030 | { |
2031 | uint64_t count, resid = 0; | 2031 | uint64_t count, resid; |
2032 | int weight = num_online_cpus(); | 2032 | int weight = num_online_cpus(); |
2033 | int s; | 2033 | int s; |
2034 | 2034 | ||
@@ -2060,6 +2060,7 @@ xfs_icsb_balance_counter( | |||
2060 | break; | 2060 | break; |
2061 | default: | 2061 | default: |
2062 | BUG(); | 2062 | BUG(); |
2063 | count = resid = 0; /* quiet, gcc */ | ||
2063 | break; | 2064 | break; |
2064 | } | 2065 | } |
2065 | 2066 | ||