Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403298

[PATCH 0/3] udf: Metadata partition fixes

From Alden Tondettar <alden.tondettar@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] udf: Metadata partition fixes
Date 2016-05-18 23:20 +0200
Message-ID <rAh2N-7md-15@gated-at.bofh.it> (permalink)
References <rAh2N-7md-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset (hopefully) fixes a problem with loading some
Windows-generated UDF 2.5 filesystems, and two other problems I noticed
along the way. This has only been tested on a single NetBSD-generated
image (works before, works now) and a few Windows-7-generated images
(triggered KASAN and failed to mount before, works fine now), but I don't
have any other UDF 2.5 images to test it on.

As I was getting ready to post this, I noticed on lkml that Laura Abbott has
just posted a similar fix for the IS_ERR issue
(https://lkml.org/lkml/2016/5/18/489). However, I _think_ that fix is
inadequate as iput() called from udf_free_partition() will still dereference
the error pointer in s_mirror_fe on unmount.  If I'm wrong and that patch is
fine, then let me know if you want me to rework this to account for it.

Also, should MAINTAINERS list linux-fsdevel under UDF?

Alden Tondettar (3):
  udf: Don't BUG on missing metadata partition descriptor
  udf: Use IS_ERR when loading metadata mirror file entry
  udf: Use correct partition reference number for metadata

 fs/udf/partition.c | 13 +++++++++----
 fs/udf/super.c     | 22 ++++++++++++----------
 fs/udf/udf_sb.h    |  1 +
 3 files changed, 22 insertions(+), 14 deletions(-)

-- 
2.1.4

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] udf: Metadata partition fixes Alden Tondettar <alden.tondettar@gmail.com> - 2016-05-18 23:20 +0200
  [PATCH 0/3] udf: Metadata partition fixes Alden Tondettar <alden.tondettar@gmail.com> - 2016-05-18 23:20 +0200
  [PATCH 1/3] udf: Don't BUG on missing metadata partition descriptor Alden Tondettar <alden.tondettar@gmail.com> - 2016-05-18 23:20 +0200
    Re: [PATCH 1/3] udf: Don't BUG on missing metadata partition  descriptor Jan Kara <jack@suse.cz> - 2016-05-19 12:30 +0200
  [PATCH 3/3] udf: Use correct partition reference number for metadata Alden Tondettar <alden.tondettar@gmail.com> - 2016-05-18 23:20 +0200
    Re: [PATCH 3/3] udf: Use correct partition reference number for  metadata Jan Kara <jack@suse.cz> - 2016-05-19 13:10 +0200

csiph-web