summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/sync_debug.c
diff options
context:
space:
mode:
authorRichard Weinberger2019-05-15 21:52:34 +0200
committerRichard Weinberger2019-07-08 20:01:34 +0200
commit8009ce956c3d28022af6b122e50213ad830fc902 (patch)
tree0fde24e7c17f6b7eeefaf835613a776f3bfed4e5 /drivers/dma-buf/sync_debug.c
parentubifs: Check link count of inodes when killing orphans. (diff)
downloadkernel-qcow2-linux-8009ce956c3d28022af6b122e50213ad830fc902.tar.gz
kernel-qcow2-linux-8009ce956c3d28022af6b122e50213ad830fc902.tar.xz
kernel-qcow2-linux-8009ce956c3d28022af6b122e50213ad830fc902.zip
ubifs: Don't leak orphans on memory during commit
If an orphan has child orphans (xattrs), and due to a commit the parent orpahn cannot get free()'ed immediately, put also all child orphans on the erase list. Otherwise UBIFS will free() them only upon unmount and we waste memory. Fixes: 988bec41318f ("ubifs: orphan: Handle xattrs like files") Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/dma-buf/sync_debug.c')
0 files changed, 0 insertions, 0 deletions