patch-2.4.7 linux/fs/reiserfs/namei.c

Next file: linux/fs/reiserfs/stree.c
Previous file: linux/fs/reiserfs/journal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/fs/reiserfs/namei.c linux/fs/reiserfs/namei.c
@@ -72,7 +72,7 @@
 // comment?  maybe something like set de to point to what the path points to?
 static inline void set_de_item_location (struct reiserfs_dir_entry * de, struct path * path)
 {
-    de->de_bh = get_bh (path);
+    de->de_bh = get_last_bh (path);
     de->de_ih = get_ih (path);
     de->de_deh = B_I_DEH (de->de_bh, de->de_ih);
     de->de_item_num = PATH_LAST_POSITION (path);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)