From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: stable@kernel.org, linux-kernel@vger.kernel.org
Cc: stable-review@kernel.org, Dmitry Monakhov <dmonakhov@openvz.org>,
"Theodore Ts'o" <tytso@mit.edu>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [34-longterm 020/260] ext4: Use bitops to read/modify i_flags in struct ext4_inode_info
Date: Sun, 2 Jan 2011 02:15:16 -0500 [thread overview]
Message-ID: <1293952756-15010-21-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1293952756-15010-1-git-send-email-paul.gortmaker@windriver.com>
From: Dmitry Monakhov <dmonakhov@openvz.org>
commit 12e9b892002d9af057655d35b44db8ee9243b0dc upstream.
At several places we modify EXT4_I(inode)->i_flags without holding
i_mutex (ext4_do_update_inode, ...). These modifications are racy and
we can lose updates to i_flags. So convert handling of i_flags to use
bitops which are atomic.
https://bugzilla.kernel.org/show_bug.cgi?id=15792
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
fs/ext4/dir.c | 4 +-
fs/ext4/ext4.h | 109 ++++++++++++++++++++++++++++++++++++++++++-------
fs/ext4/ext4_jbd2.h | 8 ++--
fs/ext4/extents.c | 10 ++--
fs/ext4/file.c | 2 +-
fs/ext4/ialloc.c | 4 +-
fs/ext4/inode.c | 30 +++++++-------
fs/ext4/mballoc.c | 4 +-
fs/ext4/migrate.c | 2 +-
fs/ext4/move_extent.c | 4 +-
fs/ext4/namei.c | 10 ++--
fs/ext4/super.c | 1 +
fs/ext4/xattr.c | 4 +-
13 files changed, 136 insertions(+), 56 deletions(-)
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index 86cb6d8..e7ce97b 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -111,7 +111,7 @@ static int ext4_readdir(struct file *filp,
if (EXT4_HAS_COMPAT_FEATURE(inode->i_sb,
EXT4_FEATURE_COMPAT_DIR_INDEX) &&
- ((EXT4_I(inode)->i_flags & EXT4_INDEX_FL) ||
+ ((ext4_test_inode_flag(inode, EXT4_INODE_INDEX)) ||
((inode->i_size >> sb->s_blocksize_bits) == 1))) {
err = ext4_dx_readdir(filp, dirent, filldir);
if (err != ERR_BAD_DX_DIR) {
@@ -122,7 +122,7 @@ static int ext4_readdir(struct file *filp,
* We don't set the inode dirty flag since it's not
* critical that it get flushed back to the disk.
*/
- EXT4_I(filp->f_path.dentry->d_inode)->i_flags &= ~EXT4_INDEX_FL;
+ ext4_clear_inode_flag(filp->f_path.dentry->d_inode, EXT4_INODE_INDEX);
}
stored = 0;
offset = filp->f_pos & (sb->s_blocksize - 1);
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index d266003..7fe80c5 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -321,6 +321,83 @@ static inline __u32 ext4_mask_flags(umode_t mode, __u32 flags)
return flags & EXT4_OTHER_FLMASK;
}
+/*
+ * Inode flags used for atomic set/get
+ */
+enum {
+ EXT4_INODE_SECRM = 0, /* Secure deletion */
+ EXT4_INODE_UNRM = 1, /* Undelete */
+ EXT4_INODE_COMPR = 2, /* Compress file */
+ EXT4_INODE_SYNC = 3, /* Synchronous updates */
+ EXT4_INODE_IMMUTABLE = 4, /* Immutable file */
+ EXT4_INODE_APPEND = 5, /* writes to file may only append */
+ EXT4_INODE_NODUMP = 6, /* do not dump file */
+ EXT4_INODE_NOATIME = 7, /* do not update atime */
+/* Reserved for compression usage... */
+ EXT4_INODE_DIRTY = 8,
+ EXT4_INODE_COMPRBLK = 9, /* One or more compressed clusters */
+ EXT4_INODE_NOCOMPR = 10, /* Don't compress */
+ EXT4_INODE_ECOMPR = 11, /* Compression error */
+/* End compression flags --- maybe not all used */
+ EXT4_INODE_INDEX = 12, /* hash-indexed directory */
+ EXT4_INODE_IMAGIC = 13, /* AFS directory */
+ EXT4_INODE_JOURNAL_DATA = 14, /* file data should be journaled */
+ EXT4_INODE_NOTAIL = 15, /* file tail should not be merged */
+ EXT4_INODE_DIRSYNC = 16, /* dirsync behaviour (directories only) */
+ EXT4_INODE_TOPDIR = 17, /* Top of directory hierarchies*/
+ EXT4_INODE_HUGE_FILE = 18, /* Set to each huge file */
+ EXT4_INODE_EXTENTS = 19, /* Inode uses extents */
+ EXT4_INODE_EA_INODE = 21, /* Inode used for large EA */
+ EXT4_INODE_EOFBLOCKS = 22, /* Blocks allocated beyond EOF */
+ EXT4_INODE_RESERVED = 31, /* reserved for ext4 lib */
+};
+
+#define TEST_FLAG_VALUE(FLAG) (EXT4_##FLAG##_FL == (1 << EXT4_INODE_##FLAG))
+#define CHECK_FLAG_VALUE(FLAG) if (!TEST_FLAG_VALUE(FLAG)) { \
+ printk(KERN_EMERG "EXT4 flag fail: " #FLAG ": %d %d\n", \
+ EXT4_##FLAG##_FL, EXT4_INODE_##FLAG); BUG_ON(1); }
+
+/*
+ * Since it's pretty easy to mix up bit numbers and hex values, and we
+ * can't do a compile-time test for ENUM values, we use a run-time
+ * test to make sure that EXT4_XXX_FL is consistent with respect to
+ * EXT4_INODE_XXX. If all is well the printk and BUG_ON will all drop
+ * out so it won't cost any extra space in the compiled kernel image.
+ * But it's important that these values are the same, since we are
+ * using EXT4_INODE_XXX to test for the flag values, but EXT4_XX_FL
+ * must be consistent with the values of FS_XXX_FL defined in
+ * include/linux/fs.h and the on-disk values found in ext2, ext3, and
+ * ext4 filesystems, and of course the values defined in e2fsprogs.
+ *
+ * It's not paranoia if the Murphy's Law really *is* out to get you. :-)
+ */
+static inline void ext4_check_flag_values(void)
+{
+ CHECK_FLAG_VALUE(SECRM);
+ CHECK_FLAG_VALUE(UNRM);
+ CHECK_FLAG_VALUE(COMPR);
+ CHECK_FLAG_VALUE(SYNC);
+ CHECK_FLAG_VALUE(IMMUTABLE);
+ CHECK_FLAG_VALUE(APPEND);
+ CHECK_FLAG_VALUE(NODUMP);
+ CHECK_FLAG_VALUE(NOATIME);
+ CHECK_FLAG_VALUE(DIRTY);
+ CHECK_FLAG_VALUE(COMPRBLK);
+ CHECK_FLAG_VALUE(NOCOMPR);
+ CHECK_FLAG_VALUE(ECOMPR);
+ CHECK_FLAG_VALUE(INDEX);
+ CHECK_FLAG_VALUE(IMAGIC);
+ CHECK_FLAG_VALUE(JOURNAL_DATA);
+ CHECK_FLAG_VALUE(NOTAIL);
+ CHECK_FLAG_VALUE(DIRSYNC);
+ CHECK_FLAG_VALUE(TOPDIR);
+ CHECK_FLAG_VALUE(HUGE_FILE);
+ CHECK_FLAG_VALUE(EXTENTS);
+ CHECK_FLAG_VALUE(EA_INODE);
+ CHECK_FLAG_VALUE(EOFBLOCKS);
+ CHECK_FLAG_VALUE(RESERVED);
+}
+
/* Used to pass group descriptor data when online resize is done */
struct ext4_new_group_input {
__u32 group; /* Group number for this data */
@@ -616,9 +693,8 @@ struct ext4_ext_cache {
*/
struct ext4_inode_info {
__le32 i_data[15]; /* unconverted */
- __u32 i_flags;
- ext4_fsblk_t i_file_acl;
__u32 i_dtime;
+ ext4_fsblk_t i_file_acl;
/*
* i_block_group is the number of the block group which contains
@@ -629,6 +705,7 @@ struct ext4_inode_info {
*/
ext4_group_t i_block_group;
unsigned long i_state_flags; /* Dynamic state flags */
+ unsigned long i_flags;
ext4_lblk_t i_dir_start_lookup;
#ifdef CONFIG_EXT4_FS_XATTR
@@ -1064,20 +1141,22 @@ enum {
EXT4_STATE_DIO_UNWRITTEN, /* need convert on dio done*/
};
-static inline int ext4_test_inode_state(struct inode *inode, int bit)
-{
- return test_bit(bit, &EXT4_I(inode)->i_state_flags);
+#define EXT4_INODE_BIT_FNS(name, field) \
+static inline int ext4_test_inode_##name(struct inode *inode, int bit) \
+{ \
+ return test_bit(bit, &EXT4_I(inode)->i_##field); \
+} \
+static inline void ext4_set_inode_##name(struct inode *inode, int bit) \
+{ \
+ set_bit(bit, &EXT4_I(inode)->i_##field); \
+} \
+static inline void ext4_clear_inode_##name(struct inode *inode, int bit) \
+{ \
+ clear_bit(bit, &EXT4_I(inode)->i_##field); \
}
-static inline void ext4_set_inode_state(struct inode *inode, int bit)
-{
- set_bit(bit, &EXT4_I(inode)->i_state_flags);
-}
-
-static inline void ext4_clear_inode_state(struct inode *inode, int bit)
-{
- clear_bit(bit, &EXT4_I(inode)->i_state_flags);
-}
+EXT4_INODE_BIT_FNS(flag, flags)
+EXT4_INODE_BIT_FNS(state, state_flags)
#else
/* Assume that user mode programs are passing in an ext4fs superblock, not
* a kernel struct super_block. This will allow us to call the feature-test
@@ -1264,7 +1343,7 @@ struct ext4_dir_entry_2 {
#define is_dx(dir) (EXT4_HAS_COMPAT_FEATURE(dir->i_sb, \
EXT4_FEATURE_COMPAT_DIR_INDEX) && \
- (EXT4_I(dir)->i_flags & EXT4_INDEX_FL))
+ ext4_test_inode_flag((dir), EXT4_INODE_INDEX))
#define EXT4_DIR_LINK_MAX(dir) (!is_dx(dir) && (dir)->i_nlink >= EXT4_LINK_MAX)
#define EXT4_DIR_LINK_EMPTY(dir) ((dir)->i_nlink == 2 || (dir)->i_nlink == 1)
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
index b79ad51..dade0c0 100644
--- a/fs/ext4/ext4_jbd2.h
+++ b/fs/ext4/ext4_jbd2.h
@@ -273,7 +273,7 @@ static inline int ext4_should_journal_data(struct inode *inode)
return 1;
if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)
return 1;
- if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL)
+ if (ext4_test_inode_flag(inode, EXT4_INODE_JOURNAL_DATA))
return 1;
return 0;
}
@@ -284,7 +284,7 @@ static inline int ext4_should_order_data(struct inode *inode)
return 0;
if (!S_ISREG(inode->i_mode))
return 0;
- if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL)
+ if (ext4_test_inode_flag(inode, EXT4_INODE_JOURNAL_DATA))
return 0;
if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA)
return 1;
@@ -297,7 +297,7 @@ static inline int ext4_should_writeback_data(struct inode *inode)
return 0;
if (EXT4_JOURNAL(inode) == NULL)
return 1;
- if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL)
+ if (ext4_test_inode_flag(inode, EXT4_INODE_JOURNAL_DATA))
return 0;
if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA)
return 1;
@@ -321,7 +321,7 @@ static inline int ext4_should_dioread_nolock(struct inode *inode)
return 0;
if (!S_ISREG(inode->i_mode))
return 0;
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
return 0;
if (ext4_should_journal_data(inode))
return 0;
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 8a8f9f0..a1d3f7c 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3509,7 +3509,7 @@ int ext4_ext_get_blocks(handle_t *handle, struct inode *inode,
set_buffer_uninit(bh_result);
}
- if (unlikely(EXT4_I(inode)->i_flags & EXT4_EOFBLOCKS_FL)) {
+ if (unlikely(ext4_test_inode_flag(inode, EXT4_INODE_EOFBLOCKS))) {
if (unlikely(!eh->eh_entries)) {
EXT4_ERROR_INODE(inode,
"eh->eh_entries == 0 ee_block %d",
@@ -3520,7 +3520,7 @@ int ext4_ext_get_blocks(handle_t *handle, struct inode *inode,
last_ex = EXT_LAST_EXTENT(eh);
if (iblock + ar.len > le32_to_cpu(last_ex->ee_block)
+ ext4_ext_get_actual_len(last_ex))
- EXT4_I(inode)->i_flags &= ~EXT4_EOFBLOCKS_FL;
+ ext4_clear_inode_flag(inode, EXT4_INODE_EOFBLOCKS);
}
err = ext4_ext_insert_extent(handle, inode, path, &newex, flags);
if (err) {
@@ -3661,7 +3661,7 @@ static void ext4_falloc_update_inode(struct inode *inode,
* can proceed even if the new size is the same as i_size.
*/
if (new_size > i_size_read(inode))
- EXT4_I(inode)->i_flags |= EXT4_EOFBLOCKS_FL;
+ ext4_set_inode_flag(inode, EXT4_INODE_EOFBLOCKS);
}
}
@@ -3689,7 +3689,7 @@ long ext4_fallocate(struct inode *inode, int mode, loff_t offset, loff_t len)
* currently supporting (pre)allocate mode for extent-based
* files _only_
*/
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
return -EOPNOTSUPP;
/* preallocation to directories is currently not supported */
@@ -3939,7 +3939,7 @@ int ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
int error = 0;
/* fallback to generic here if not in extents fmt */
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
return generic_block_fiemap(inode, fieinfo, start, len,
ext4_get_block);
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index d0776e4..5313ae4 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -66,7 +66,7 @@ ext4_file_write(struct kiocb *iocb, const struct iovec *iov,
* is smaller than s_maxbytes, which is for extent-mapped files.
*/
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)) {
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))) {
struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
size_t length = iov_length(iov, nr_segs);
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c
index 52618d5..7f6b582 100644
--- a/fs/ext4/ialloc.c
+++ b/fs/ext4/ialloc.c
@@ -492,7 +492,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
if (S_ISDIR(mode) &&
((parent == sb->s_root->d_inode) ||
- (EXT4_I(parent)->i_flags & EXT4_TOPDIR_FL))) {
+ (ext4_test_inode_flag(parent, EXT4_INODE_TOPDIR)))) {
int best_ndir = inodes_per_group;
int ret = -1;
@@ -1038,7 +1038,7 @@ got:
if (EXT4_HAS_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_EXTENTS)) {
/* set extent flag only for directory, file and normal symlink*/
if (S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode)) {
- EXT4_I(inode)->i_flags |= EXT4_EXTENTS_FL;
+ ext4_set_inode_flag(inode, EXT4_INODE_EXTENTS);
ext4_ext_tree_init(handle, inode);
}
}
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 3c479ef..3fd683f 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -933,7 +933,7 @@ static int ext4_ind_get_blocks(handle_t *handle, struct inode *inode,
int count = 0;
ext4_fsblk_t first_block = 0;
- J_ASSERT(!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL));
+ J_ASSERT(!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)));
J_ASSERT(handle != NULL || (flags & EXT4_GET_BLOCKS_CREATE) == 0);
depth = ext4_block_to_path(inode, iblock, offsets,
&blocks_to_boundary);
@@ -1061,7 +1061,7 @@ static int ext4_indirect_calc_metadata_amount(struct inode *inode,
*/
static int ext4_calc_metadata_amount(struct inode *inode, sector_t lblock)
{
- if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)
+ if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))
return ext4_ext_calc_metadata_amount(inode, lblock);
return ext4_indirect_calc_metadata_amount(inode, lblock);
@@ -1251,7 +1251,7 @@ int ext4_get_blocks(handle_t *handle, struct inode *inode, sector_t block,
* file system block.
*/
down_read((&EXT4_I(inode)->i_data_sem));
- if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) {
+ if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)) {
retval = ext4_ext_get_blocks(handle, inode, block, max_blocks,
bh, 0);
} else {
@@ -1313,7 +1313,7 @@ int ext4_get_blocks(handle_t *handle, struct inode *inode, sector_t block,
* We need to check for EXT4 here because migrate
* could have changed the inode type in between
*/
- if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) {
+ if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)) {
retval = ext4_ext_get_blocks(handle, inode, block, max_blocks,
bh, flags);
} else {
@@ -2360,7 +2360,7 @@ static void mpage_add_bh_to_extent(struct mpage_da_data *mpd,
goto flush_it;
/* check if thereserved journal credits might overflow */
- if (!(EXT4_I(mpd->inode)->i_flags & EXT4_EXTENTS_FL)) {
+ if (!(ext4_test_inode_flag(mpd->inode, EXT4_INODE_EXTENTS))) {
if (nrblocks >= EXT4_MAX_TRANS_DATA) {
/*
* With non-extent format we are limited by the journal
@@ -2831,7 +2831,7 @@ static int ext4_da_writepages_trans_blocks(struct inode *inode)
* number of contiguous block. So we will limit
* number of contiguous block to a sane value
*/
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) &&
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)) &&
(max_blocks > EXT4_MAX_TRANS_DATA))
max_blocks = EXT4_MAX_TRANS_DATA;
@@ -3983,7 +3983,7 @@ static ssize_t ext4_direct_IO(int rw, struct kiocb *iocb,
struct file *file = iocb->ki_filp;
struct inode *inode = file->f_mapping->host;
- if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)
+ if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))
return ext4_ext_direct_IO(rw, iocb, iov, offset, nr_segs);
return ext4_ind_direct_IO(rw, iocb, iov, offset, nr_segs);
@@ -4622,12 +4622,12 @@ void ext4_truncate(struct inode *inode)
if (!ext4_can_truncate(inode))
return;
- EXT4_I(inode)->i_flags &= ~EXT4_EOFBLOCKS_FL;
+ ext4_clear_inode_flag(inode, EXT4_INODE_EOFBLOCKS);
if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC))
ext4_set_inode_state(inode, EXT4_STATE_DA_ALLOC_CLOSE);
- if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) {
+ if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)) {
ext4_ext_truncate(inode);
return;
}
@@ -5465,7 +5465,7 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
}
if (attr->ia_valid & ATTR_SIZE) {
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)) {
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))) {
struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
if (attr->ia_size > sbi->s_bitmap_maxbytes) {
@@ -5478,7 +5478,7 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
if (S_ISREG(inode->i_mode) &&
attr->ia_valid & ATTR_SIZE &&
(attr->ia_size < inode->i_size ||
- (EXT4_I(inode)->i_flags & EXT4_EOFBLOCKS_FL))) {
+ (ext4_test_inode_flag(inode, EXT4_INODE_EOFBLOCKS)))) {
handle_t *handle;
handle = ext4_journal_start(inode, 3);
@@ -5510,7 +5510,7 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
}
}
/* ext4_truncate will clear the flag */
- if ((EXT4_I(inode)->i_flags & EXT4_EOFBLOCKS_FL))
+ if ((ext4_test_inode_flag(inode, EXT4_INODE_EOFBLOCKS)))
ext4_truncate(inode);
}
@@ -5586,7 +5586,7 @@ static int ext4_indirect_trans_blocks(struct inode *inode, int nrblocks,
static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
{
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
return ext4_indirect_trans_blocks(inode, nrblocks, chunk);
return ext4_ext_index_trans_blocks(inode, nrblocks, chunk);
}
@@ -5921,9 +5921,9 @@ int ext4_change_inode_journal_flag(struct inode *inode, int val)
*/
if (val)
- EXT4_I(inode)->i_flags |= EXT4_JOURNAL_DATA_FL;
+ ext4_set_inode_flag(inode, EXT4_INODE_JOURNAL_DATA);
else
- EXT4_I(inode)->i_flags &= ~EXT4_JOURNAL_DATA_FL;
+ ext4_clear_inode_flag(inode, EXT4_INODE_JOURNAL_DATA);
ext4_set_aops(inode);
jbd2_journal_unlock_updates(journal);
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index aa499fe..917fe78 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2006,7 +2006,7 @@ ext4_mb_regular_allocator(struct ext4_allocation_context *ac)
sbi = EXT4_SB(sb);
ngroups = ext4_get_groups_count(sb);
/* non-extent files are limited to low blocks/groups */
- if (!(EXT4_I(ac->ac_inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS)))
ngroups = sbi->s_blockfile_groups;
BUG_ON(ac->ac_status == AC_STATUS_FOUND);
@@ -3171,7 +3171,7 @@ ext4_mb_use_preallocated(struct ext4_allocation_context *ac)
continue;
/* non-extent files can't have physical blocks past 2^32 */
- if (!(EXT4_I(ac->ac_inode)->i_flags & EXT4_EXTENTS_FL) &&
+ if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS)) &&
pa->pa_pstart + pa->pa_len > EXT4_MAX_BLOCK_FILE_PHYS)
continue;
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index 34dcfc5..6f3a27e 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -475,7 +475,7 @@ int ext4_ext_migrate(struct inode *inode)
*/
if (!EXT4_HAS_INCOMPAT_FEATURE(inode->i_sb,
EXT4_FEATURE_INCOMPAT_EXTENTS) ||
- (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
return -EINVAL;
if (S_ISLNK(inode->i_mode) && inode->i_blocks == 0)
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index d3d6a64..deff4a5 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -979,11 +979,11 @@ mext_check_arguments(struct inode *orig_inode,
}
/* Ext4 move extent supports only extent based file */
- if (!(EXT4_I(orig_inode)->i_flags & EXT4_EXTENTS_FL)) {
+ if (!(ext4_test_inode_flag(orig_inode, EXT4_INODE_EXTENTS))) {
ext4_debug("ext4 move extent: orig file is not extents "
"based file [ino:orig %lu]\n", orig_inode->i_ino);
return -EOPNOTSUPP;
- } else if (!(EXT4_I(donor_inode)->i_flags & EXT4_EXTENTS_FL)) {
+ } else if (!(ext4_test_inode_flag(donor_inode, EXT4_INODE_EXTENTS))) {
ext4_debug("ext4 move extent: donor file is not extents "
"based file [ino:donor %lu]\n", donor_inode->i_ino);
return -EOPNOTSUPP;
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 0c070fa..efab592 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -656,7 +656,7 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
dxtrace(printk(KERN_DEBUG "In htree_fill_tree, start hash: %x:%x\n",
start_hash, start_minor_hash));
dir = dir_file->f_path.dentry->d_inode;
- if (!(EXT4_I(dir)->i_flags & EXT4_INDEX_FL)) {
+ if (!(ext4_test_inode_flag(dir, EXT4_INODE_INDEX))) {
hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version;
if (hinfo.hash_version <= DX_HASH_TEA)
hinfo.hash_version +=
@@ -801,7 +801,7 @@ static void ext4_update_dx_flag(struct inode *inode)
{
if (!EXT4_HAS_COMPAT_FEATURE(inode->i_sb,
EXT4_FEATURE_COMPAT_DIR_INDEX))
- EXT4_I(inode)->i_flags &= ~EXT4_INDEX_FL;
+ ext4_clear_inode_flag(inode, EXT4_INODE_INDEX);
}
/*
@@ -1418,7 +1418,7 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,
brelse(bh);
return retval;
}
- EXT4_I(dir)->i_flags |= EXT4_INDEX_FL;
+ ext4_set_inode_flag(dir, EXT4_INODE_INDEX);
data1 = bh2->b_data;
memcpy (data1, de, len);
@@ -1491,7 +1491,7 @@ static int ext4_add_entry(handle_t *handle, struct dentry *dentry,
retval = ext4_dx_add_entry(handle, dentry, inode);
if (!retval || (retval != ERR_BAD_DX_DIR))
return retval;
- EXT4_I(dir)->i_flags &= ~EXT4_INDEX_FL;
+ ext4_clear_inode_flag(dir, EXT4_INODE_INDEX);
dx_fallback++;
ext4_mark_inode_dirty(handle, dir);
}
@@ -2297,7 +2297,7 @@ retry:
}
} else {
/* clear the extent format for fast symlink */
- EXT4_I(inode)->i_flags &= ~EXT4_EXTENTS_FL;
+ ext4_clear_inode_flag(inode, EXT4_INODE_EXTENTS);
inode->i_op = &ext4_fast_symlink_inode_operations;
memcpy((char *)&EXT4_I(inode)->i_data, symname, l);
inode->i_size = l-1;
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index aa947e0..2aa9314 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4139,6 +4139,7 @@ static int __init init_ext4_fs(void)
{
int err;
+ ext4_check_flag_values();
err = init_ext4_system_zone();
if (err)
return err;
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index b4c5aa8..58f8bb6 100644
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -820,7 +820,7 @@ inserted:
EXT4_I(inode)->i_block_group);
/* non-extent files can't have physical blocks past 2^32 */
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
goal = goal & EXT4_MAX_BLOCK_FILE_PHYS;
block = ext4_new_meta_blocks(handle, inode,
@@ -828,7 +828,7 @@ inserted:
if (error)
goto cleanup;
- if (!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL))
+ if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)))
BUG_ON(block > EXT4_MAX_BLOCK_FILE_PHYS);
ea_idebug(inode, "creating block %d", block);
--
1.7.3.3
next prev parent reply other threads:[~2011-01-02 7:22 UTC|newest]
Thread overview: 272+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-02 7:14 [34-longterm 000/260] v2.6.34.8 longterm review Paul Gortmaker
2011-01-02 7:14 ` [34-longterm 001/260] sctp: fix append error cause to ERROR chunk correctly Paul Gortmaker
2011-01-02 7:14 ` [34-longterm 002/260] KEYS: Return more accurate error codes Paul Gortmaker
2011-01-02 7:14 ` [34-longterm 003/260] ath5k: drop warning on jumbo frames Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 004/260] ext4: check missed return value in ext4_sync_file() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 005/260] ext4: fix memory leaks in error path handling of ext4_ext_zeroout() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 006/260] ext4: Remove unnecessary call to ext4_get_group_desc() in mballoc Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 007/260] ext4: rename ext4_mb_release_desc() to ext4_mb_unload_buddy() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 008/260] ext4: allow defrag (EXT4_IOC_MOVE_EXT) in 32bit compat mode Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 009/260] ext4: fix quota accounting in case of fallocate Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 010/260] ext4: don't return to userspace after freezing the fs with a mutex held Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 011/260] ext4: stop issuing discards if not supported by device Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 012/260] ext4: don't scan/accumulate more pages than mballoc will allocate Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 013/260] ext4: Do not zero out uninitialized extents beyond i_size Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 014/260] ext4: clean up inode bitmaps manipulation in ext4_free_inode Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 015/260] ext4: init statistics after journal recovery Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 016/260] ext4: Remove extraneous newlines in ext4_msg() calls Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 017/260] ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 018/260] ext4: check for a good block group before loading buddy pages Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 019/260] ext4: Show journal_checksum option Paul Gortmaker
2011-01-02 7:15 ` Paul Gortmaker [this message]
2011-01-02 7:15 ` [34-longterm 021/260] ext4: Avoid crashing on NULL ptr dereference on a filesystem error Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 022/260] ext4: Clear the EXT4_EOFBLOCKS_FL flag only when warranted Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 023/260] ext4: restart ext4_ext_remove_space() after transaction restart Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 024/260] ext4: Conditionally define compat ioctl numbers Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 025/260] ext4: Fix compat EXT4_IOC_ADD_GROUP Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 026/260] ext4: Make fsync sync new parent directories in no-journal mode Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 027/260] CIFS: Remove __exit mark from cifs_exit_dns_resolver() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 028/260] ext4: fix freeze deadlock under IO Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 029/260] hwmon: (k8temp) Differentiate between AM2 and ASB1 Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 030/260] xen: handle events as edge-triggered Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 031/260] xen: use percpu interrupts for IPIs and VIRQs Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 032/260] ALSA: hda - Rename iMic to Int Mic on Lenovo NB0763 Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 033/260] sata_mv: fix broken DSM/TRIM support (v2) Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 034/260] x86, tsc, sched: Recompute cyc2ns_offset's during resume from sleep states Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 035/260] PCI: MSI: Remove unsafe and unnecessary hardware access Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 036/260] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 037/260] staging: hv: Fix missing functions for net_device_ops Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 038/260] staging: hv: Fixed bounce kmap problem by using correct index Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 039/260] staging: hv: Fixed the value of the 64bit-hole inside ring buffer Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 040/260] staging: hv: Increased storvsc ringbuffer and max_io_requests Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 041/260] staging: hv: Fixed lockup problem with bounce_buffer scatter list Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 042/260] fuse: flush background queue on connection close Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 043/260] ath9k_hw: fix parsing of HT40 5 GHz CTLs Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 044/260] ocfs2: Fix incorrect checksum validation error Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 045/260] USB: ehci-ppc-of: problems in unwind Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 046/260] USB: Fix kernel oops with g_ether and Windows Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 047/260] USB: CP210x Add new device ID Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 048/260] USB: cp210x: Add B&G H3000 link cable ID Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 049/260] USB: ftdi_sio: Added custom PIDs for ChamSys products Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 050/260] usb: serial: mos7840: Add USB ID to support the B&B Electronics USOPTL4-2P Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 051/260] usb: serial: mos7840: Add USB IDs to support more B&B USB/RS485 converters Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 052/260] USB: Expose vendor-specific ACM channel on Nokia 5230 Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 053/260] USB: cdc-acm: Adding second ACM channel support for various Nokia and one Samsung phones Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 054/260] USB: cdc-acm: Add pseudo modem without AT command capabilities Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 055/260] USB: cdc-acm: Fixing crash when ACM probing interfaces with no endpoint descriptors Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 056/260] ALSA: seq/oss - Fix double-free at error path of snd_seq_oss_open() Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 057/260] sysfs: checking for NULL instead of ERR_PTR Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 058/260] oprofile: fix crash when accessing freed task structs Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 059/260] oprofile, x86: fix init_sysfs error handling Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 060/260] oprofile, x86: fix init_sysfs() function stub Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 061/260] libata: skip EH autopsy and recovery during suspend Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 062/260] tracing: Fix a race in function profile Paul Gortmaker
2011-01-02 7:15 ` [34-longterm 063/260] tracing: Do not allow llseek to set_ftrace_filter Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 064/260] tracing: t_start: reset FTRACE_ITER_HASH in case of seek/pread Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 065/260] irda: off by one Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 066/260] gcov: fix null-pointer dereference for certain module types Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 067/260] tmio_mmc: don't clear unhandled pending interrupts Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 068/260] mmc: fix the use of kunmap_atomic() in tmio_mmc.h Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 069/260] bounce: call flush_dcache_page() after bounce_copy_vec() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 070/260] kernel/groups.c: fix integer overflow in groups_search Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 071/260] binfmt_misc: fix binfmt_misc priority Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 072/260] Input: i8042 - fix device removal on unload Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 073/260] memory hotplug: fix next block calculation in is_removable Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 074/260] perf: Initialize callchains roots's childen hits Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 075/260] p54: fix tx feedback status flag check Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 076/260] ath5k: check return value of ieee80211_get_tx_rate Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 077/260] wireless extensions: fix kernel heap content leak Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 078/260] x86, tsc: Fix a preemption leak in restore_sched_clock_state() Paul Gortmaker
2011-01-02 10:17 ` 2.6.37-rc7: screen black after several suspends Nico Schottelius
2011-01-03 8:03 ` [34-longterm 078/260] x86, tsc: Fix a preemption leak in restore_sched_clock_state() Nico Schottelius
2011-01-13 15:09 ` 2.6.37-rc7: screen black after several suspends Nico Schottelius
2011-01-02 7:16 ` [34-longterm 079/260] x86-64, compat: Test %rax for the syscall number, not %eax Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 080/260] compat: Make compat_alloc_user_space() incorporate the access_ok() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 081/260] x86-64, compat: Retruncate rax after ia32 syscall entry tracing Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 082/260] sched: Kill the broken and deadlockable cpuset_lock/cpuset_cpus_allowed_locked code Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 083/260] sched: move_task_off_dead_cpu(): Take rq->lock around select_fallback_rq() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 084/260] sched: move_task_off_dead_cpu(): Remove retry logic Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 085/260] sched: sched_exec(): Remove the select_fallback_rq() logic Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 086/260] sched: _cpu_down(): Don't play with current->cpus_allowed Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 087/260] sched: Make select_fallback_rq() cpuset friendly Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 088/260] sched: Fix TASK_WAKING vs fork deadlock Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 089/260] sched: Optimize task_rq_lock() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 090/260] sched: Fix nr_uninterruptible count Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 091/260] sched: Fix rq->clock synchronization when migrating tasks Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 092/260] rcu: apply RCU protection to wake_affine() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 093/260] sched: Fix select_idle_sibling() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 094/260] sched: Pre-compute cpumask_weight(sched_domain_span(sd)) Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 095/260] sched: Fix select_idle_sibling() logic in select_task_rq_fair() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 096/260] ALSA: hda - Handle missing NID 0x1b on ALC259 codec Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 097/260] ALSA: hda - Handle pin NID 0x1a on ALC259/269 Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 098/260] arm: fix really nasty sigreturn bug Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 099/260] hwmon: (f75375s) Shift control mode to the correct bit position Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 100/260] hwmon: (f75375s) Do not overwrite values read from registers Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 101/260] apm_power: Add missing break statement Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 102/260] NFS: Fix a typo in nfs_sockaddr_match_ipaddr6 Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 103/260] SUNRPC: Fix race corrupting rpc upcall Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 104/260] i915: return -EFAULT if copy_to_user fails Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 105/260] " Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 106/260] drm/i915: Prevent double dpms on Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 107/260] drm: Only decouple the old_fb from the crtc is we call mode_set* Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 108/260] tun: Don't add sysfs attributes to devices without sysfs directories Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 109/260] USB: serial/mos*: prevent reading uninitialized stack memory Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 110/260] gro: fix different skb headrooms Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 111/260] gro: Re-fix " Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 112/260] irda: Correctly clean up self->ias_obj on irda_bind() failure Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 113/260] tcp: select(writefds) don't hang up when a peer close connection Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 114/260] tcp: Combat per-cpu skew in orphan tests Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 115/260] tcp: fix three tcp sysctls tuning Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 116/260] bridge: Clear IPCB before possible entry into IP stack Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 117/260] bridge: Clear INET control block of SKBs passed into ip_fragment() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 118/260] rds: fix a leak of kernel memory Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 119/260] tcp: Prevent overzealous packetization by SWS logic Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 120/260] UNIX: Do not loop forever at unix_autobind() Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 121/260] sparc64: Get rid of indirect p1275 PROM call buffer Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 122/260] drivers/net/usb/hso.c: prevent reading uninitialized memory Paul Gortmaker
2011-01-02 7:16 ` [34-longterm 123/260] drivers/net/cxgb3/cxgb3_main.c: prevent reading uninitialized stack memory Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 124/260] drivers/net/eql.c: " Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 125/260] bonding: correctly process non-linear skbs Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 126/260] Staging: vt6655: fix buffer overflow Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 127/260] net/llc: make opt unsigned in llc_ui_setsockopt() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 128/260] pid: make setpgid() system call use RCU read-side critical section Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 129/260] sched: Fix user time incorrectly accounted as system time on 32-bit Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 130/260] oprofile: Add Support for Intel CPU Family 6 / Model 22 (Intel Celeron 540) Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 131/260] char: Mark /dev/zero and /dev/kmem as not capable of writeback Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 132/260] drivers/pci/intel-iommu.c: fix build with older gcc's Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 133/260] drivers/video/sis/sis_main.c: prevent reading uninitialized stack memory Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 134/260] percpu: fix pcpu_last_unit_cpu Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 135/260] aio: check for multiplication overflow in do_io_submit Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 136/260] inotify: send IN_UNMOUNT events Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 137/260] mptsas: fix hangs caused by ATA pass-through Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 138/260] ext4: Fix remaining racy updates of EXT4_I(inode)->i_flags Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 139/260] fix siglock Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 140/260] Optimize ticket spinlocks in fsys_rt_sigprocmask Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 141/260] KEYS: Fix RCU no-lock warning in keyctl_session_to_parent() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 142/260] KEYS: Fix bug in keyctl_session_to_parent() if parent has no session keyring Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 143/260] xfs: prevent reading uninitialized stack memory Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 144/260] drivers/video/via/ioctl.c: " Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 145/260] AT91: change dma resource index Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 146/260] mm: page allocator: drain per-cpu lists after direct reclaim allocation fails Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 147/260] mm: page allocator: calculate a better estimate of NR_FREE_PAGES when memory is low and kswapd is awake Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 148/260] mm: page allocator: update free page counters after pages are placed on the free list Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 149/260] guard page for stacks that grow upwards Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 150/260] Fix unprotected access to task credentials in waitid() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 151/260] sctp: Do not reset the packet during sctp_packet_config() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 152/260] dasd: use correct label location for diag fba disks Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 153/260] hostap_pci: set dev->base_addr during probe Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 154/260] inotify: fix inotify oneshot support Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 155/260] MIPS: Quit using undefined behavior of ADDU in 64-bit atomic operations Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 156/260] MIPS: Set io_map_base for several PCI bridges lacking it Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 157/260] sis-agp: Remove SIS 760, handled by amd64-agp Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 158/260] alpha: Fix printk format errors Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 159/260] x86, cpu: After uncapping CPUID, re-run CPU feature detection Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 160/260] ALSA: sound/pci/rme9652: prevent reading uninitialized stack memory Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 161/260] ALSA: oxygen: fix analog capture on Claro halo cards Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 162/260] ALSA: hda - Add Dell Latitude E6400 model quirk Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 163/260] ALSA: prevent heap corruption in snd_ctl_new() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 164/260] ALSA: rawmidi: fix oops (use after free) when unloading a driver module Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 165/260] USB: fix bug in initialization of interface minor numbers Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 166/260] usb: musb: gadget: fix kernel panic if using out ep with FIFO_TXRX style Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 167/260] usb: musb: gadget: restart request on clearing endpoint halt Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 168/260] oprofile: Add Support for Intel CPU Family 6 / Model 29 Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 169/260] RDMA/cxgb3: Turn off RX coalescing for iWARP connections Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 170/260] mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 171/260] x86/amd-iommu: Set iommu configuration flags in enable-loop Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 172/260] x86/amd-iommu: Fix rounding-bug in __unmap_single Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 173/260] x86/amd-iommu: Work around S3 BIOS bug Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 174/260] tracing/x86: Don't use mcount in pvclock.c Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 175/260] tracing/x86: Don't use mcount in kvmclock.c Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 176/260] v4l1: fix 32-bit compat microcode loading translation Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 177/260] V4L/DVB: cx231xx: Avoid an OOPS when card is unknown (card=0) Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 178/260] Input: joydev - fix JSIOCSAXMAP ioctl Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 179/260] x86, hpet: Fix bogus error check in hpet_assign_irq() Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 180/260] x86, irq: Plug memory leak in sparse irq Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 181/260] ubd: fix incorrect sector handling during request restart Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 182/260] ring-buffer: Fix typo of time extends per page Paul Gortmaker
2011-01-02 7:17 ` [34-longterm 183/260] dmaengine: fix interrupt clearing for mv_xor Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 184/260] hrtimer: Preserve timer state in remove_hrtimer() Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 185/260] i2c-pca: Fix waitforcompletion() return value Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 186/260] ocfs2: Don't walk off the end of fast symlinks Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 187/260] wext: fix potential private ioctl memory content leak Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 188/260] atl1: fix resume Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 189/260] x86, AMD, MCE thresholding: Fix the MCi_MISCj iteration order Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 190/260] De-pessimize rds_page_copy_user Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 191/260] drm/radeon: fix PCI ID 5657 to be an RV410 Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 192/260] xfrm4: strip ECN bits from tos field Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 193/260] tcp: Fix >4GB writes on 64-bit Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 194/260] net: Fix the condition passed to sk_wait_event() Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 195/260] Phonet: Correct header retrieval after pskb_may_pull Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 196/260] net: Fix IPv6 PMTU disc. w/ asymmetric routes Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 197/260] ip: fix truesize mismatch in ip fragmentation Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 198/260] net: clear heap allocations for privileged ethtool actions Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 199/260] tcp: Fix race in tcp_poll Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 200/260] netxen: dont set skb->truesize Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 201/260] rose: Fix signedness issues wrt. digi count Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 202/260] net: blackhole route should always be recalculated Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 203/260] skge: add quirk to limit DMA Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 204/260] r8169: allocate with GFP_KERNEL flag when able to sleep Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 205/260] bsg: fix incorrect device_status value Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 206/260] powerpc: Initialise paca->kstack before early_setup_secondary Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 207/260] powerpc: Don't use kernel stack with translation off Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 208/260] b44: fix carrier detection on bind Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 209/260] ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 210/260] intel_idle: PCI quirk to prevent Lenovo Ideapad s10-3 boot hang Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 211/260] ACPI: EC: add Vista incompatibility DMI entry for Toshiba Satellite L355 Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 212/260] ACPI: delete ZEPTO idle=nomwait DMI quirk Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 213/260] ACPI: Disable Windows Vista compatibility for Toshiba P305D Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 214/260] x86: detect scattered cpuid features earlier Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 215/260] setup_arg_pages: diagnose excessive argument size Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 216/260] execve: improve interactivity with large arguments Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 217/260] execve: make responsive to SIGKILL " Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 218/260] mm: Move vma_stack_continue into mm.h Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 219/260] staging: usbip: Notify usb core of port status changes Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 220/260] staging: usbip: Process event flags without delay Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 221/260] powerpc/perf: Fix sampling enable for PPC970 Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 222/260] pcmcia: synclink_cs: fix information leak to userland Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 223/260] sched: Fix string comparison in /proc/sched_features Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 224/260] bluetooth: Fix missing NULL check Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 225/260] futex: Fix errors in nested key ref-counting Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 226/260] mm, x86: Saving vmcore with non-lazy freeing of vmas Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 227/260] x86, cpu: Fix renamed, not-yet-shipping AMD CPUID feature bit Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 228/260] x86, kexec: Make sure to stop all CPUs before exiting the kernel Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 229/260] x86, olpc: Don't retry EC commands forever Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 230/260] x86, mtrr: Assume SYS_CFG[Tom2ForceMemTypeWB] exists on all future AMD CPUs Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 231/260] x86, intr-remap: Set redirection hint in the IRTE Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 232/260] x86, kdump: Change copy_oldmem_page() to use cached addressing Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 233/260] KVM: MMU: fix direct sp's access corrupted Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 234/260] KVM: MMU: fix conflict access permissions in direct sp Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 235/260] KVM: VMX: Fix host GDT.LIMIT corruption Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 236/260] KVM: x86: Fix SVM VMCB reset Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 237/260] KVM: x86: Move TSC reset out of vmcb_init Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 238/260] KVM: Fix fs/gs reload oops with invalid ldt Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 239/260] pipe: fix failure to return error code on ->confirm() Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 240/260] p54usb: fix off-by-one on !CONFIG_PM Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 241/260] p54usb: add five more USBIDs Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 242/260] drivers/net/wireless/p54/eeprom.c: Return -ENOMEM on memory allocation failure Paul Gortmaker
2011-01-02 7:18 ` [34-longterm 243/260] USB: ftdi_sio: Add PID for accesio products Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 244/260] USB: add PID for FTDI based OpenDCC hardware Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 245/260] USB: ftdi_sio: new VID/PIDs for various Papouch devices Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 246/260] USB: ftdi_sio: add device ids for ScienceScope Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 247/260] usb: musb: blackfin: call gpio_free() on error path in musb_platform_init() Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 248/260] USB: option: Add more ZTE modem USB id's Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 249/260] USB: cp210x: Add Renesas RX-Stick device ID Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 250/260] USB: cp210x: Add WAGO 750-923 Service Cable " Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 251/260] USB: atmel_usba_udc: force vbus_pin at -EINVAL when gpio_request failled Paul Gortmaker
2011-01-05 18:59 ` Jean-Christophe PLAGNIOL-VILLARD
2011-01-05 21:29 ` Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 252/260] USB: disable endpoints after unbinding interfaces, not before Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 253/260] USB: opticon: Fix long-standing bugs in opticon driver Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 254/260] USB: accept some invalid ep0-maxpacket values Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 255/260] sd name space exhaustion causes system hang Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 256/260] libsas: fix NCQ mixing with non-NCQ Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 257/260] gdth: integer overflow in ioctl Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 258/260] Fix race when removing SCSI devices Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 259/260] Fix regressions in scsi_internal_device_block Paul Gortmaker
2011-01-02 7:19 ` [34-longterm 260/260] sgi-xp: incoming XPC channel messages can come in after the channel's partition structures have been torn down Paul Gortmaker
2011-01-02 7:57 ` [34-longterm 000/260] v2.6.34.8 longterm review Ted Ts'o
2011-01-02 10:46 ` Paul Gortmaker
2011-01-03 10:41 ` Jiri Slaby
2011-01-04 19:11 ` Paul Gortmaker
2011-01-06 12:47 ` Jiri Slaby
2011-01-06 15:53 ` Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1293952756-15010-21-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=dmonakhov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable-review@kernel.org \
--cc=stable@kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox