diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-22 08:53:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:14 -0400 |
commit | b20bd1a5e78af267dc4b6e1ffed48d5d776302c5 (patch) | |
tree | d50982ee42500712d9add489435d4455580b9cac /include | |
parent | 389b8be6ef419397e4f176652927ebad6ebb4b77 (diff) |
get rid of S_BIAS
use atomic_inc_not_zero(&sb->s_active) instead of playing games with
checking ->s_count > S_BIAS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d13a6b83ad0c..62f84d955b83 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1314,7 +1314,6 @@ extern int send_sigurg(struct fown_struct *fown); | |||
1314 | extern struct list_head super_blocks; | 1314 | extern struct list_head super_blocks; |
1315 | extern spinlock_t sb_lock; | 1315 | extern spinlock_t sb_lock; |
1316 | 1316 | ||
1317 | #define S_BIAS (1<<30) | ||
1318 | struct super_block { | 1317 | struct super_block { |
1319 | struct list_head s_list; /* Keep this first */ | 1318 | struct list_head s_list; /* Keep this first */ |
1320 | dev_t s_dev; /* search index; _not_ kdev_t */ | 1319 | dev_t s_dev; /* search index; _not_ kdev_t */ |