summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-09-29 10:43:15 +1000
committerDave Chinner <david@fromorbit.com>2014-09-29 10:43:15 +1000
commite68ed77521f695d165cbae070f6dda8a4778438f (patch)
tree3430dd1b47113a90962a2167636f917299307d6e /fs/f2fs/gc.c
parentab6978c295b074eb2ba4b06fdf206c7ab4f293e5 (diff)
downloadtalos-obmc-linux-e68ed77521f695d165cbae070f6dda8a4778438f.tar.gz
talos-obmc-linux-e68ed77521f695d165cbae070f6dda8a4778438f.zip
xfs: fix use of agi_newino in finobt lookup
Sparse warns that we are passing the big-endian valueo f agi_newino to the initial btree lookup function when trying to find a new inode. This is wrong - we need to pass the host order value, not the disk order value. This will adversely affect the next inode allocated, but given that the free inode btree is usually much smaller than the allocated inode btree it is much less likely to be a performance issue if we start the search in the wrong place. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud