All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs: make i_generation a u64
@ 2012-04-11 20:42 Josef Bacik
  2012-04-12  0:32 ` Chris Mason
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Josef Bacik @ 2012-04-11 20:42 UTC (permalink / raw)
  To: linux-fsdevel, linux-btrfs, viro

Btrfs stores generation numbers as 64bit numbers, which means we have to
carry around a u64 in our incore inode in addition to setting i_generation.
So convert to a u64 so btrfs can kill it's incore generation.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
---
 include/linux/fs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 9be896d..40564e0 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -831,7 +831,7 @@ struct inode {
 		struct cdev		*i_cdev;
 	};
 
-	__u32			i_generation;
+	u64			i_generation;
 
 #ifdef CONFIG_FSNOTIFY
 	__u32			i_fsnotify_mask; /* all events this inode cares about */
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-12 19:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 20:42 [PATCH] fs: make i_generation a u64 Josef Bacik
2012-04-12  0:32 ` Chris Mason
2012-04-12  6:46 ` Marco Stornelli
2012-04-12  6:46   ` Marco Stornelli
2012-04-12 13:20   ` Josef Bacik
2012-04-12 13:20     ` Josef Bacik
2012-04-12 13:56   ` Josef Bacik
2012-04-12 13:56     ` Josef Bacik
2012-04-12 19:42 ` Ted Ts'o
2012-04-12 19:49   ` Josef Bacik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.