diff options
author | Theodore Ts'o <tytso@mit.edu> | 2003-12-07 01:00:02 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2003-12-07 01:00:02 -0500 |
commit | 3de085dd4109e6a7049dd6b85abf0313167cab5b (patch) | |
tree | 0d204161ec39aa77888f448a9e3daf9784f859bf /e2fsck/jfs_user.h | |
parent | 3ddf2f662eaccf2376dd99c65a2fe93fcf75c3e7 (diff) | |
download | e2fsprogs-3de085dd4109e6a7049dd6b85abf0313167cab5b.tar.gz |
recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
version.
Diffstat (limited to 'e2fsck/jfs_user.h')
-rw-r--r-- | e2fsck/jfs_user.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/e2fsck/jfs_user.h b/e2fsck/jfs_user.h index d8da0303..157ece18 100644 --- a/e2fsck/jfs_user.h +++ b/e2fsck/jfs_user.h @@ -42,6 +42,9 @@ struct kdev_s { typedef struct kdev_s *kdev_t; #define fsync_no_super(dev) do {} while(0) +#define sync_blockdev(dev) do {} while(0) +#define lock_buffer(bh) do {} while(0) +#define unlock_buffer(bh) do {} while(0) #define buffer_req(bh) 1 #define do_readahead(journal, start) do {} while(0) @@ -110,3 +113,9 @@ void mark_buffer_uptodate(struct buffer_head *bh, int val); void brelse(struct buffer_head *bh); int buffer_uptodate(struct buffer_head *bh); void wait_on_buffer(struct buffer_head *bh); + +/* + * Define newer 2.5 interfaces + */ +#define __getblk(dev, blocknr, blocksize) getblk(dev, blocknr, blocksize) +#define set_buffer_uptodate(bh) mark_buffer_uptodate(bh, 1) |