search for: read_inode

Displaying 9 results from an estimated 9 matches for "read_inode".

2008 Feb 22
1
[PATCH] IGET: Remove initialisation of read_inode() super op from BTRFS
Remove the initialisation of read_inode() super op from BTRFS as it has been dropped. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/btrfs/super.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index a46300c..612a34f 100644 --- a/fs/btrfs/super.c +++ b/fs/...
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...ocfs2-devel. On Mon, Oct 13, 2008 at 06:16:15PM -0700, Joel Becker wrote: > @@ -232,25 +231,17 @@ int ocfs2_populate_inode(struct inode *inode, 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\...
2003 Dec 01
0
[PATCH] 2.4.23 ext3 warning
...sabled. --- linux-2.4.23/fs/ext3/super.c.orig Fri Nov 28 21:04:40 2003 +++ linux-2.4.23/fs/ext3/super.c Sun Nov 30 12:16:00 2003 @@ -449,7 +449,6 @@ } static struct dquot_operations ext3_qops; -static int (*old_sync_dquot)(struct dquot *dquot); static struct super_operations ext3_sops = { read_inode: ext3_read_inode, /* BKL held */ @@ -1773,6 +1772,8 @@ */ #ifdef CONFIG_QUOTA + +static int (*old_sync_dquot)(struct dquot *dquot); /* Blocks: (2 data blocks) * (3 indirect + 1 descriptor + 1 bitmap) + superblock */ #define EXT3_OLD_QFMT_BLOCKS 11 Gr{oetje,eeting}s, Geert -- Geert...
2001 Aug 13
0
(no subject)
...> I haven't looked at ext3 or played with it but in order for a > filesystem to work with knfsd (in it's current form) it must: Neil, I sent Stephen a patch to update ext3 with the same changes that went into ext2 2.2.17 and 2.2.18, which include your NFS changes. > Support the read_inode super_operation and > 1/ recognise if the inode number refers to a currently active inode > or not > 2a/ if not, must return an is_bad_inode() inode. The (2a - return bad_inode for deleted inodes) step unfortunately breaks ext3 recovery. It is somewhat difficult to fix, bec...
2001 Aug 13
0
(no subject)
...pre7 + ext3 without any problems yet, quite stable. Ofcourse, "apparently stable" is quite different from "absolutely reliable"... I haven't looked at ext3 or played with it but in order for a filesystem to work with knfsd (in it's current form) it must: Support the read_inode super_operation and 1/ recognise if the inode number refers to a currently active inode or not 2a/ if not, must return an is_bad_inode() inode. 2b/ if so must provide a completely filled-in inode (nfs doesn't for example. ext2 does, ext3 almost certainly does)....
2002 Dec 15
2
problem with Andrew's patch ext3
Hello Andrew, I patched 2.4.20 with your patch found out on http://lwn.net/Articles/17447/ and I have a big problem with: once server is booted on 2.4.20 with your patch, when I want to reboot with /sbin/reboot, server makes a Segmentation fault and it crashs. I tested it on 50-60 servers and it is the same problem. I tested kernel 2.4.20 without your patch: no problem. # uname -a Linux XXXXXX
2007 Apr 18
0
Ext3-users Digest, Vol 38, Issue 10
Hi, my program works well with fedora-2 .with fedora-5 it's gives following errors.. get_it_i_say.c:549: warning: implicit declaration of function 'strcmp' cc -o giis dir.o file.o get_it_i_say.o group.o init.o inode.o main.o searchnupdate.o uninit.o inode.o: In function `read_inode':inode.c:(.text+0x202): undefined reference to `S_ISDIR' inode.o: In function `show_inode':inode.c:(.text+0x2d0): undefined reference to `S_ISREG' :inode.c:(.text+0x2f2): undefined reference to `S_ISDIR' :inode.c:(.text+0x314): undefined reference to `S_ISLNK' :inode.c:(.tex...
2001 Mar 23
0
[linux-lvm] EXT2-fs panic (device lvm(58,0)):
...matter of > taste (recall the flamefest around Tigran's crusade against global > zero initializers several months ago ;-) Yes, but now it is common practise to remove any global zero inits. > The rule is that inode->u is zeroed before fs gets to see > the inode, be it in ->read_inode() or after get_empty_inode(). > The rest is private business of that fs. That's what ->u is about, > after all... I did a quick check through the 2.4 tree looking for zero initializations on the ->u data in *_read_inode() and *_new_inode(). Some set individual fields to zero and o...
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi, This is the second batch of Ocfs2 patches intended for the merge window. The 1st batch were sent out previously: http://lkml.org/lkml/2008/12/19/280 The bulk of this set is comprised of Jan Kara's patches to add quota support to Ocfs2. Many of the quota patches are to generic code, which I carried to make merging of the Ocfs2 support easier. All of the non-ocfs2 patches should have