diff options
| author | David Howells <[email protected]> | 2008-02-07 00:15:33 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-07 08:42:27 -0800 |
| commit | ce634ab28e7dbcc13ebe6e7bc5bc7de4f8def4c8 (patch) | |
| tree | cb19d7c04a3f503f8f1c026c861a3f21b5283e2b /include/linux | |
| parent | e33ab086ae227a34e34b17e86dbb9d2dbaebb489 (diff) | |
iget: stop CIFS from using iget() and read_inode()
Stop the CIFS filesystem from using iget() and read_inode(). Replace
cifs_read_inode() with cifs_iget(), and call that instead of iget().
cifs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
cifs_read_super() now returns any error incurred when getting the root inode
instead of ENOMEM.
cifs_iget() needs examining. The comment "can not call macro FreeXid here
since in a void func" is no longer true.
Signed-off-by: David Howells <[email protected]>
Cc: Steven French <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions