]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/ocfs2_fs.h
ocfs2: Remove delete inode vote
[linux-2.6] / fs / ocfs2 / ocfs2_fs.h
index c99e9058c1988940451d7faf21d24818c83e71cc..a476b63e2e6037f3abaa85d193949a1b5986abae 100644 (file)
@@ -446,7 +446,9 @@ struct ocfs2_dinode {
        __le32 i_ctime_nsec;
        __le32 i_mtime_nsec;
        __le32 i_attr;
-       __le32 i_reserved1;
+       __le16 i_orphaned_slot;         /* Only valid when OCFS2_ORPHANED_FL
+                                          was set in i_flags */
+       __le16 i_reserved1;
 /*70*/ __le64 i_reserved2[8];
 /*B8*/ union {
                __le64 i_pad1;          /* Generic way to refer to this
@@ -587,7 +589,7 @@ static inline u64 ocfs2_backup_super_blkno(struct super_block *sb, int index)
 
        if (index >= 0 && index < OCFS2_MAX_BACKUP_SUPERBLOCKS) {
                offset <<= (2 * index);
-               offset /= sb->s_blocksize;
+               offset >>= sb->s_blocksize_bits;
                return offset;
        }