search for: i_flags

Displaying 20 results from an estimated 36 matches for "i_flags".

Did you mean: ti_flags
2005 Jul 20
0
ext3 nodump attribute inheritance
...urce-2.6.8-orig/fs/ext3/ialloc.c 2004-08-14 07:36:58.000000000 +0200 +++ kernel-source-2.6.8/fs/ext3/ialloc.c 2005-07-19 11:20:36.000000000 +0200 @@ -566,9 +566,9 @@ ei->i_next_alloc_goal = 0; ei->i_dir_start_lookup = 0; ei->i_disksize = 0; - ei->i_flags = EXT3_I(dir)->i_flags & ~EXT3_INDEX_FL; + ei->i_flags = EXT3_I(dir)->i_flags & ~(EXT3_INDEX_FL | EXT3_NODUMP_FL); if (S_ISLNK(mode)) ei->i_flags &= ~(EXT3_IMMUTABLE_FL|EXT3_APPEND_FL); /* dirsync only applies to directories */ i...
2001 Mar 23
0
[linux-lvm] EXT2-fs panic (device lvm(58,0)):
...E_SIZE; /* This is the optimal IO size (for stat), not the fs block size */ inode->i_blocks = 0; inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME; + /* The inode->u struct is zeroed for us by new_inode() */ inode->u.ext2_i.i_new_inode = 1; inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags; if (S_ISLNK(mode)) inode->u.ext2_i.i_flags &= ~(EXT2_IMMUTABLE_FL | EXT2_APPEND_FL); - inode->u.ext2_i.i_faddr = 0; - inode->u.ext2_i.i_frag_no = 0; - inode->u.ext2_i.i_frag_size = 0; - inode->u.ext2_i.i_file_acl = 0; - inode->u.ext2_i.i_dir_ac...
2013 Jun 20
2
[PATCH V2] ocfs2: need rollback when journal_access failed in ocfs2_orphan_add()
...tions(+), 16 deletions(-) diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index f53471d..087c58b 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c @@ -2012,6 +2012,21 @@ static int ocfs2_orphan_add(struct ocfs2_super *osb, goto leave; } + /* + * We're going to journal the change of i_flags and i_orphaned_slot. + * It's safe anyway, though some callers may duplicate the journaling. + * Journaling within the func just make the logic look more + * straightforward. + */ + status = ocfs2_journal_access_di(handle, + INODE_CACHE(inode), + fe_bh, + OCFS2_JOURNAL_ACCESS...
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...ode, struct ocfs2_dinode *fe, > ocfs2_mount_local(osb) || !ocfs2_stack_supports_plocks()) > use_plocks = 0; > > - /* this means that read_inode cannot create a superblock inode > - * today. change if needed. */ > - if (!OCFS2_IS_VALID_DINODE(fe) || > - !(fe->i_flags & cpu_to_le32(OCFS2_VALID_FL))) { > - mlog(0, "Invalid dinode: i_ino=%lu, i_blkno=%llu, " > - "signature = %.*s, flags = 0x%x\n", > - inode->i_ino, > - (unsigned long long)le64_to_cpu(fe->i_blkno), 7, > - fe->i_signature, le32...
2009 Nov 03
2
[PATCH]] Btrfs: fix destroy snapshot to get the right parent dentry
...file *file, dest = BTRFS_I(inode)->root; mutex_lock(&inode->i_mutex); - err = d_invalidate(dentry); - if (err) - goto out_unlock; down_write(&root->fs_info->subvol_sem); @@ -827,7 +824,7 @@ static noinline int btrfs_ioctl_snap_destroy(struct file *file, inode->i_flags |= S_DEAD; out_up_write: up_write(&root->fs_info->subvol_sem); -out_unlock: + mutex_unlock(&inode->i_mutex); if (!err) { shrink_dcache_sb(root->fs_info->sb); -- 1.6.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi, below comes a new version of the series of patches implementing quota support for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given number of bytes instead of number of blocks. Besides that the series should be the same. Honza
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
..._loc to metadata blocks ocfs2: Pass suballocation results back via a structure ocfs2: Allocate discontiguous block groups ocfs2: Define data structures for discontiguous block groups ocfs2: Add clusters free in dealloc_ctxt Ocfs2: 1.4 Fix a compiling error introduced by backport of 'Journaling i_flags..' from mainline Ocfs2: 1.4 Backport mainline commit Journaling i_flags and i_orphaned_slot when adding inode to orphan dir' to ocfs2 ocfs2: Tweak workqueue compat code to handle changes in EL5.6 ocfs2: Up version to 1.4.8 ocfs2: cluster Add per region debugfs file to show the elapsed time...
2013 Aug 30
3
[PATCH] btrfs: commit transaction after deleting a subvolume
...,7 +2268,7 @@ static noinline int btrfs_ioctl_snap_destroy(struct file *file, out_end_trans: trans->block_rsv = NULL; trans->bytes_reserved = 0; - ret = btrfs_end_transaction(trans, root); + ret = btrfs_commit_transaction(trans, root); if (ret && !err) err = ret; inode->i_flags |= S_DEAD; -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2006 Jun 12
1
kernel BUG at /usr/src/ocfs2-1.2.1/fs/ocfs2/file.c:494!
...ournald starting. Commit interval 5 seconds ocfs2: Mounting device (147,0) on (node 0, slot 1) (16918,0):ocfs2_truncate_file:494 ERROR: bug expression: le64_to_cpu(fe->i_size) != i_size_read(inode) (16918,0):ocfs2_truncate_file:494 ERROR: Inode 42363033, inode i_size = 1129 != di i_size = 1120, i_flags = 0x1 ------------[ cut here ]------------ kernel BUG at /usr/src/ocfs2-1.2.1/fs/ocfs2/file.c:494! invalid opcode: 0000 [#1] SMP Modules linked in: ocfs2 sha1 ocfs2_dlmfs ocfs2_dlm ocfs2_nodemanager configfs ipv6 ext3 jbd dm_mod drbd sr_mod sbp2 ide_generic ide_disk ide_cd cdrom eth1394 mousedev t...
2007 Aug 21
1
[git patch] dmesg + fstype ocfs2
...ock group */ +/*10*/ uint32_t i_reserved0; + uint32_t i_clusters; /* Cluster count */ + uint32_t i_uid; /* Owner UID */ + uint32_t i_gid; /* Owning GID */ +/*20*/ uint64_t i_size; /* Size in bytes */ + uint16_t i_mode; /* File mode */ + uint16_t i_links_count; /* Links count */ + uint32_t i_flags; /* File flags */ +/*30*/ uint64_t i_atime; /* Access time */ + uint64_t i_ctime; /* Creation time */ +/*40*/ uint64_t i_mtime; /* Modification time */ + uint64_t i_dtime; /* Deletion time */ +/*50*/ uint64_t i_blkno; /* Offset on disk, in blocks */ + uint64_t i_last_eb_blk; /* Pointer...
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi, I'm sending a series of patches implementing quota support into ocfs2-tools. It's the same as the original huge patch I've sent but now it's split as Joel asked. I've also realized that when disabling SPARSE feature, we should update quota information. That piece of code is missing, I'll implement it soon. Comments welcome. Honza
2011 Apr 27
2
btrfs-convert crashes
...> ext2_scan = 0xce2300 ext2_ino = 37359452 objectid = 37359706 ext2_inode = {i_mode = 16877, i_uid = 1000, i_size = 16384, i_atime = 1303466526, i_ctime = 1296464377, i_mtime = 1296464377, i_dtime = 0, i_gid = 1000, i_links_count = 2, i_blocks = 32, i_flags = 528384, osd1 = {linux1 = {l_i_version = 1981}, hurd1 = {h_i_translator = 1981}}, i_block = {193290, 4, 0, 0, 1, 149430439, 1, 3, 149430464, 0, 0, 0, 0, 0, 0}, i_generation = 2854948622, i_file_acl = 0, i_dir_acl = 0, i_faddr = 0, osd2 = {linux2 = { l_i_blocks_hi = 0, l...
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello, Happy New Year! These patches make syslinux/linux support ext2/3/4, and it doesn't require the root privilege, I'd like to add a separate e2fs/syslinux, if that is more appropriate, it should be easy to do that. I put these patches on github so that you can easily get them in case you'd like to test them. (The repo's name is sys_tmp, which avoids confusing others, I will
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi, this is the next version of quota support for quota tools. I've addressed all the comments of Tao, Joel and others. Sparse feature disabling also correctly updates quota information now and the patch is merged into the tunefs support patch. Honza
2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
hi, I set a file's inode.i_flags to "S_APPEND" in linux kernel, so the file can only be opened with 'append' mode. In linux system it works fine as expected. Like, echo "test" > append.txt, permission deny. echo "test" >> append.txt, OK. I share the directory to windows with samba se...
2006 Dec 29
3
[git patches] ocfs2 fixes
Hi Linus, Here are some 2.6.20 fixes for ocfs2. The patch by Zhen Wei isn't really a fix, but a very small amount of support for a feature which is mostly implemented in ocfs2-tools. Considering it's just a single attribute export via configfs, I'd say it's pretty safe to merge. Please pull from 'upstream-linus' branch of
2012 Jul 04
0
kernel panic on redhat 5-7 x64
...inating receiver thread Jul 3 10:58:54 web1 kernel: (httpd,11395,3):ocfs2_truncate_file:425 ERROR: bug expression: le64_to_cpu(fe->i_size) != i_size_read(inode) Jul 3 10:58:54 web1 kernel: (httpd,11395,3):ocfs2_truncate_file:425 ERROR: Inode 389752, inode i_size = 28059 != di i_size = 17004, i_flags = 0x1 Jul 3 10:58:54 web1 kernel: ----------- [cut here ] --------- [please bite here ] --------- Jul 3 10:58:54 web1 kernel: Kernel BUG at ...rpmbuild/xiaowei/BUILD/ocfs2-1.4.7/fs/ocfs2/file.c:425 Is there anyone meet the same situation? Please help me Thanks and Regards, Namldp -...
2007 Jan 23
1
ocfs2 kernel bug in Fedora Core 4 update kernel
...nment FC4,FC5,FC6 SAN: FC Infortrend storage, QLogic16 port FC switch, FC adapter LSI FC929X (21224,1):ocfs2_truncate_file:242 ERROR: bug expression: le64_to_cpu(fe->i_size) != i_size_read(inode) (21224,1):ocfs2_truncate_file:242 ERROR: Inode 1029752381, inode i_size = 582 != di i_size = 690, i_flags = 0x 1 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/file.c:242! invalid opcode: 0000 [#1] SMP last sysfs file: /class/vc/vcs12/dev Modules linked in: nfs nfsd exportfs lockd nfs_acl ipv6 autofs4 ocfs2 rfcomm l2cap bluetooth ocfs2_dlmfs ocfs2 _dlm ocfs2_nodemanager configfs sunrpc vid...
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...t inode *inode, const struct ext2_inode *e_inode, uint32_t inr) { inode->mode = IFTODT(e_inode->i_mode); inode->size = e_inode->i_size; @@ -156,6 +156,7 @@ static void fill_inode(struct inode *inode, const struct ext2_inode *e_inode) inode->flags = e_inode->i_flags; inode->file_acl = e_inode->i_file_acl; memcpy(PVT(inode)->i_block, e_inode->i_block, sizeof PVT(inode)->i_block); + PVT(inode)->i_ino = inr; } static struct inode *ext2_iget_by_inr(struct fs_info *fs, uint32_t inr) @@ -169,11 +170,32 @@ static struct inode *ext2_...