Re: [PATCH] Btrfs: use vfree instead of kfree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 14, 2012 at 01:05:09PM -0400, Josef Bacik wrote:
> We are vmalloc()'ing the fspath now so we should be vfree'ing it and not
> kfreeing it.  Thanks,
> 
> Reported-by: Dave Sterba <dave@xxxxxxxx>
> Signed-off-by: Josef Bacik <jbacik@xxxxxxxxxxxx>

IMO better to fold this change into the patch that introduced it, as
it's not merged anywhere else than btrfs-next:

  [PATCH v2 6/6] Btrfs: use larger limit for translation of logical to inode
  From: Liu Bo <bo.li.liu@xxxxxxxxxx>

plus add the missing #include <linux/vmalloc.h> that Fengguang Wu
encountered.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux