diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-08-30 22:51:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-30 22:51:36 -0700 |
| commit | b2230d13885996178628a73ae6cd98168cd9f8eb (patch) | |
| tree | 153894d7e01a72310ec234599453b6fa10da5d6b /include/linux/nfsd | |
| parent | fe178e800e8ac0f3f13f0ce4b2c170599669713b (diff) | |
[PATCH] dev_t handling cleanups (10/12)
new helper - iminor(inode); defined as minor(inode->i_rdev); lots and
lots of places in drivers had been switched to it.
Diffstat (limited to 'include/linux/nfsd')
| -rw-r--r-- | include/linux/nfsd/nfsfh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfsd/nfsfh.h b/include/linux/nfsd/nfsfh.h index 19f76c700f4d..dc63e0326a2d 100644 --- a/include/linux/nfsd/nfsfh.h +++ b/include/linux/nfsd/nfsfh.h @@ -295,7 +295,7 @@ fill_post_wcc(struct svc_fh *fhp) fhp->fh_post_blocks = (inode->i_size+511) >> 9; } fhp->fh_post_rdev[0] = htonl((u32)major(inode->i_rdev)); - fhp->fh_post_rdev[1] = htonl((u32)minor(inode->i_rdev)); + fhp->fh_post_rdev[1] = htonl((u32)iminor(inode)); fhp->fh_post_atime = inode->i_atime; fhp->fh_post_mtime = inode->i_mtime; fhp->fh_post_ctime = inode->i_ctime; |
