]> Git Repo - linux.git/commitdiff
Merge tag 'fs_for_v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack...
authorLinus Torvalds <[email protected]>
Thu, 7 Mar 2019 17:01:33 +0000 (09:01 -0800)
committerLinus Torvalds <[email protected]>
Thu, 7 Mar 2019 17:01:33 +0000 (09:01 -0800)
Pull ext2 and udf fixes from Jan Kara:
 "A couple of fixes for udf and ext2. Namely:

   - fix making ext2 mountable (again) with 64k blocksize

   - fix for ext2 statx(2) handling

   - fix for udf handling of corrupted filesystem so that it doesn't get
     corrupted even further

   - couple smaller ext2 and udf cleanups"

* tag 'fs_for_v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  udf: Drop pointless check from udf_sync_fs()
  ext2: support statx syscall
  udf: disallow RW mount without valid integrity descriptor
  udf: finalize integrity descriptor before writeback
  udf: factor out LVID finalization for reuse
  ext2: Fix underflow in ext2_max_size()
  ext2: Fix a typo in comment
  ext2: Remove redundant check for finding no group
  ext2: Annotate implicit fall through in __ext2_truncate_blocks
  ext2: Set superblock revision when enabling xattr feature
  ext2: Remove redundant check on s_inode_size
  ext2: set proper return code

1  2 
fs/ext2/ext2.h

diff --combined fs/ext2/ext2.h
index 93fcfe7bbb3bb82b6114bd71fbd2ad9a963c70d0,ae0cd9e81e4819e0c233852d5fd7a25f23941271..10ab238de9a65e4df112e0f2869bd12e84f8287a
@@@ -603,6 -603,22 +603,6 @@@ struct ext2_dir_entry_2 
        char    name[];                 /* File name, up to EXT2_NAME_LEN */
  };
  
 -/*
 - * Ext2 directory file types.  Only the low 3 bits are used.  The
 - * other bits are reserved for now.
 - */
 -enum {
 -      EXT2_FT_UNKNOWN         = 0,
 -      EXT2_FT_REG_FILE        = 1,
 -      EXT2_FT_DIR             = 2,
 -      EXT2_FT_CHRDEV          = 3,
 -      EXT2_FT_BLKDEV          = 4,
 -      EXT2_FT_FIFO            = 5,
 -      EXT2_FT_SOCK            = 6,
 -      EXT2_FT_SYMLINK         = 7,
 -      EXT2_FT_MAX
 -};
 -
  /*
   * EXT2_DIR_PAD defines the directory entries boundaries
   *
@@@ -758,6 -774,7 +758,7 @@@ extern int ext2_write_inode (struct ino
  extern void ext2_evict_inode(struct inode *);
  extern int ext2_get_block(struct inode *, sector_t, struct buffer_head *, int);
  extern int ext2_setattr (struct dentry *, struct iattr *);
+ extern int ext2_getattr (const struct path *, struct kstat *, u32, unsigned int);
  extern void ext2_set_inode_flags(struct inode *inode);
  extern int ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
                       u64 start, u64 len);
This page took 0.066725 seconds and 4 git commands to generate.