summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-ref.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-02-16 09:02:47 +0100
committerDavid Sterba <dsterba@suse.com>2016-02-18 11:46:03 +0100
commit89771cc98c5a4e8666e479dde171ffb52c6fa774 (patch)
tree2011e3fb83bd97773154c96c0718ee87e213ecc7 /fs/btrfs/delayed-ref.c
parentbtrfs: use proper type for failrec in extent_state (diff)
downloadlinux-89771cc98c5a4e8666e479dde171ffb52c6fa774.tar.xz
linux-89771cc98c5a4e8666e479dde171ffb52c6fa774.zip
btrfs: fix build warning
We were getting build warning about: fs/btrfs/extent-tree.c:7021:34: warning: ‘used_bg’ may be used uninitialized in this function It is not a valid warning as used_bg is never used uninitilized since locked is initially false so we can never be in the section where 'used_bg' is used. But gcc is not able to understand that and we can initialize it while declaring to silence the warning. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.c')
0 files changed, 0 insertions, 0 deletions